FileDocCategorySizeDatePackage
WebViewFactoryProvider.javaAPI DocAndroid 5.1 API4485Thu Mar 12 22:22:10 GMT 2015android.webkit

WebViewFactoryProvider

public interface WebViewFactoryProvider
This is the main entry-point into the WebView back end implementations, which the WebView proxy class uses to instantiate all the other objects as needed. The backend must provide an implementation of this interface, and make it available to the WebView via mechanism TBD.
hide

Fields Summary
Constructors Summary
Methods Summary
public WebViewProvidercreateWebView(WebView webView, WebView.PrivateAccess privateAccess)
Construct a new WebViewProvider.

param
webView the WebView instance bound to this implementation instance. Note it will not necessarily be fully constructed at the point of this call: defer real initialization to WebViewProvider.init().
param
privateAccess provides access into WebView internal methods.

public CookieManagergetCookieManager()
Gets the singleton CookieManager instance for this WebView implementation. The implementation must return the same instance on subsequent calls.

return
the singleton CookieManager instance

public GeolocationPermissionsgetGeolocationPermissions()
Gets the singleton GeolocationPermissions instance for this WebView implementation. The implementation must return the same instance on subsequent calls.

return
the single GeolocationPermissions instance.

public android.webkit.WebViewFactoryProvider$StaticsgetStatics()

public WebIconDatabasegetWebIconDatabase()
Gets the singleton WebIconDatabase instance for this WebView implementation. The implementation must return the same instance on subsequent calls.

return
the singleton WebIconDatabase instance

public WebStoragegetWebStorage()
Gets the singleton WebStorage instance for this WebView implementation. The implementation must return the same instance on subsequent calls.

return
the singleton WebStorage instance

public WebViewDatabasegetWebViewDatabase(android.content.Context context)
Gets the singleton WebViewDatabase instance for this WebView implementation. The implementation must return the same instance on subsequent calls.

return
the singleton WebViewDatabase instance