Do I have to build Helper executable on my own?
I always extracted it from cefclient target (at the moment from cef_binary_3.1750.1738_macosx32)
Some additional information:
Our main application is written in java
in java we load our jnilib
afterwards we set (over jni) :
- CefSettings like browser_subprocess_path ...
- CefBrowserSettings like web_security, application_cache ...
- CefWindow like size
and then we call a method for initialization with start url (in jnilib):
- Code: Select all
#if !OS_WIN
CefRefPtr<XYZCefClientApp> j_application(new XYZCefClientApp());
bool cefinit = CefInitialize(j_args, j_cefsettings, j_application.get(), NULL);
/*
int exit_code = CefExecuteProcess(j_args, j_application.get(), NULL);
if (exit_code >= 0) {
return exit_code;
}
*/
CefRefPtr<CefClient> j_client(new XYZCefClient());
try {
j_browser = CefBrowserHost::CreateBrowserSync(j_windowInfo,
j_client,
j_start_url,
j_browserSettings,
0L);
}
catch (ExceptionHandler e) {
return JNI_FALSE;
}
#endif
CefRunMessageLoop();
CefShutdown();
If I look into Activity Monitor, there is one process called "cefclient Helper EH" which comes from my application.