public class DevModeBase.UiBrowserWidgetHostImpl extends Object implements BrowserWidgetHost
Constructor and Description |
---|
UiBrowserWidgetHostImpl() |
Modifier and Type | Method and Description |
---|---|
ModuleHandle |
createModuleLogger(String moduleName,
String userAgent,
String url,
String tabKey,
String sessionKey,
BrowserChannelServer serverChannel,
byte[] userAgentIcon)
Create a logger for a module instance.
|
ModuleSpaceHost |
createModuleSpaceHost(ModuleHandle module,
String moduleName)
Create a ModuleSpaceHost for the specified module.
|
public ModuleHandle createModuleLogger(String moduleName, String userAgent, String url, String tabKey, String sessionKey, BrowserChannelServer serverChannel, byte[] userAgentIcon)
BrowserWidgetHost
createModuleLogger
in interface BrowserWidgetHost
url
- URL of top-level window, may be null for old browser pluginstabKey
- opaque key for the tab, may be empty string if the plugin
can't distinguish tabs or null if using an old browser pluginsessionKey
- unique session key, may be null for old browser pluginsserverChannel
- connection from the clientuserAgentIcon
- byte array containing an icon (which fits in 24x24)
for this user agent or null if unavailableModuleHandle.unload()
on it when donepublic ModuleSpaceHost createModuleSpaceHost(ModuleHandle module, String moduleName) throws UnableToCompleteException
BrowserWidgetHost
createModuleSpaceHost
in interface BrowserWidgetHost
module
- ModuleHandle returned from a previous createModuleLogger
call.moduleName
- name of module to createUnableToCompleteException
Copyright © 2018. All rights reserved.