public interface CefAppHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
onAlreadyRunningAppRelaunch(CefCommandLine command_line,
java.lang.String current_directory)
Implement this method to provide app-specific behavior when an already
running app is relaunched with the same CefSettings.root_cache_path value.
|
void |
onBeforeCommandLineProcessing(java.lang.String process_type,
CefCommandLine command_line)
Provides an opportunity to view and/or modify command-line arguments before
processing by CEF and Chromium.
|
boolean |
onBeforeTerminate()
Provides an opportunity to hook into the native shutdown process.
|
void |
onContextInitialized()
Called on the browser process UI thread immediately after the CEF context
has been initialized.
|
void |
onRegisterCustomSchemes(CefSchemeRegistrar registrar)
Provides an opportunity to register custom schemes.
|
void |
onScheduleMessagePumpWork(long delay_ms)
Called from any thread when work has been scheduled for the browser process
main (UI) thread.
|
void |
stateHasChanged(CefApp.CefAppState state)
Implement this method to get state changes of the CefApp.
|
boolean onAlreadyRunningAppRelaunch(CefCommandLine command_line, java.lang.String current_directory)
void onBeforeCommandLineProcessing(java.lang.String process_type,
CefCommandLine command_line)
process_type - type of process (empty for browser process).command_line - values of the command line.boolean onBeforeTerminate()
void onContextInitialized()
void onRegisterCustomSchemes(CefSchemeRegistrar registrar)
void onScheduleMessagePumpWork(long delay_ms)
void stateHasChanged(CefApp.CefAppState state)
CefApp.CefAppState for a complete list of possible states.
For example, this method can be used e.g. to get informed if CefApp has
completed its initialization or its shutdown process.state - The current state of CefApp.