public interface CefAppHandler
限定符和类型 | 方法和说明 |
---|---|
CefPrintHandler |
getPrintHandler()
Return the handler for printing on Linux.
返回在Linux上打印的处理程序
|
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.
提供在CEF和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.
初始化CEF上下文后立即调用浏览器进程UI线程
|
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.
在为浏览器进程主(UI)线程安排工作时从任何线程调用
|
void |
stateHasChanged(CefApp.CefAppState state)
Implement this method to get state changes of the CefApp.
实现此方法以获取CefApp的状态更改
|
CefPrintHandler getPrintHandler()
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.CefApp的当前状态