Merge change I4c64bb78 into eclair-mr2
* changes: add hidden method to draw entire page into a canvas, with no view-chrome. For testing.
This commit is contained in:
@@ -5608,6 +5608,17 @@ public class WebView extends AbsoluteLayout
|
|||||||
mWebViewCore.sendMessage(EventHub.DUMP_NAVTREE);
|
mWebViewCore.sendMessage(EventHub.DUMP_NAVTREE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Draw the HTML page into the specified canvas. This call ignores any
|
||||||
|
* view-specific zoom, scroll offset, or other changes. It does not draw
|
||||||
|
* any view-specific chrome, such as progress or URL bars.
|
||||||
|
*
|
||||||
|
* @hide only needs to be accessible to Browser and testing
|
||||||
|
*/
|
||||||
|
public void drawPage(Canvas canvas) {
|
||||||
|
mWebViewCore.drawContentPicture(canvas, 0, false, false);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update our cache with updatedText.
|
* Update our cache with updatedText.
|
||||||
* @param updatedText The new text to put in our cache.
|
* @param updatedText The new text to put in our cache.
|
||||||
|
|||||||
Reference in New Issue
Block a user