am 752e9172: am e211d641: am 7a286b09: Merge "Add WebView.enableSlowWholeDocumentDraw" into lmp-dev
* commit '752e91720dd4275341e28eb6293da2322b45612d': Add WebView.enableSlowWholeDocumentDraw
This commit is contained in:
@@ -37187,6 +37187,7 @@ package android.webkit {
|
||||
method public android.print.PrintDocumentAdapter createPrintDocumentAdapter(java.lang.String);
|
||||
method public void destroy();
|
||||
method public void documentHasImages(android.os.Message);
|
||||
method public static void enableSlowWholeDocumentDraw();
|
||||
method public void evaluateJavascript(java.lang.String, android.webkit.ValueCallback<java.lang.String>);
|
||||
method public static java.lang.String findAddress(java.lang.String);
|
||||
method public deprecated int findAll(java.lang.String);
|
||||
|
||||
@@ -1623,6 +1623,16 @@ public class WebView extends AbsoluteLayout
|
||||
return getFactory().getStatics().findAddress(addr);
|
||||
}
|
||||
|
||||
/**
|
||||
* Enable drawing the entire HTML document at a significant performance
|
||||
* cost. Call this to enable drawing and capturing HTML content outside of
|
||||
* the WebView's viewport. This should be called before any WebViews are
|
||||
* created.
|
||||
*/
|
||||
public static void enableSlowWholeDocumentDraw() {
|
||||
getFactory().getStatics().enableSlowWholeDocumentDraw();
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears the highlighting surrounding text matches created by
|
||||
* {@link #findAllAsync}.
|
||||
|
||||
@@ -64,6 +64,12 @@ public interface WebViewFactoryProvider {
|
||||
* {@link android.webkit.WebView#optOutDataReductionProxy() }
|
||||
*/
|
||||
void optOutDataReductionProxy();
|
||||
|
||||
/**
|
||||
* Implements the API method:
|
||||
* {@link android.webkit.WebView#setSlowWholeDocumentDrawEnabled(boolean) }
|
||||
*/
|
||||
void enableSlowWholeDocumentDraw();
|
||||
}
|
||||
|
||||
Statics getStatics();
|
||||
|
||||
Reference in New Issue
Block a user