public abstract class CefAppHandlerAdapter extends java.lang.Object implements CefAppHandler
构造器和说明 |
---|
CefAppHandlerAdapter(java.lang.String[] args) |
限定符和类型 | 方法和说明 |
---|---|
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的状态更改。)
|
public CefPrintHandler getPrintHandler()
CefAppHandler
getPrintHandler
在接口中
CefAppHandler
public void onBeforeCommandLineProcessing(java.lang.String process_type, CefCommandLine command_line)
CefAppHandler
onBeforeCommandLineProcessing
在接口中
CefAppHandler
process_type
- type of process (empty for browser process).
(-进程类型(浏览器进程为空)。)
command_line
- values of the command line.
(-命令行的值。)
public boolean onBeforeTerminate()
CefAppHandler
onBeforeTerminate
在接口中
CefAppHandler
public void onContextInitialized()
CefAppHandler
onContextInitialized
在接口中
CefAppHandler
public void onRegisterCustomSchemes(CefSchemeRegistrar registrar)
CefAppHandler
onRegisterCustomSchemes
在接口中
CefAppHandler
public void onScheduleMessagePumpWork(long delay_ms)
CefAppHandler
onScheduleMessagePumpWork
在接口中
CefAppHandler
public void stateHasChanged(CefApp.CefAppState state)
CefAppHandler
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.
(实现此方法以获取CefApp的状态更改。有关可能状态的完整列表,请参见CefApp.CefAppState。例如,可以使用这种方法。获知CefApp是否已完成其初始化或关闭过程。)
stateHasChanged
在接口中
CefAppHandler
state
- The current state of CefApp.
(-CefApp的当前状态。)