public abstract class CefAppHandlerAdapter extends Object implements CefAppHandler
| 构造器和说明 |
|---|
CefAppHandlerAdapter(String[] args) |
| 限定符和类型 | 方法和说明 |
|---|---|
CefPrintHandler |
getPrintHandler()
Return the handler for printing on Linux.
|
void |
onBeforeCommandLineProcessing(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 |
stateHasChanged(CefApp.CefAppState state)
Implement this method to get state changes of the CefApp.
|
public CefAppHandlerAdapter(String[] args)
public void onBeforeCommandLineProcessing(String process_type, CefCommandLine command_line)
CefAppHandleronBeforeCommandLineProcessing 在接口中 CefAppHandlerprocess_type - type of process (empty for browser process).command_line - values of the command line.public void stateHasChanged(CefApp.CefAppState state)
CefAppHandlerCefApp.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.stateHasChanged 在接口中 CefAppHandlerstate - The current state of CefApp.public boolean onBeforeTerminate()
CefAppHandleronBeforeTerminate 在接口中 CefAppHandlerpublic void onRegisterCustomSchemes(CefSchemeRegistrar registrar)
CefAppHandleronRegisterCustomSchemes 在接口中 CefAppHandlerpublic void onContextInitialized()
CefAppHandleronContextInitialized 在接口中 CefAppHandlerpublic CefPrintHandler getPrintHandler()
CefAppHandlergetPrintHandler 在接口中 CefAppHandlerCopyright © 2017. All rights reserved.