diff options
Diffstat (limited to 'WebKit/android/jni/WebViewCore.h')
| -rw-r--r-- | WebKit/android/jni/WebViewCore.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/WebKit/android/jni/WebViewCore.h b/WebKit/android/jni/WebViewCore.h index fcd5574..29bdf37 100644 --- a/WebKit/android/jni/WebViewCore.h +++ b/WebKit/android/jni/WebViewCore.h @@ -119,9 +119,11 @@ namespace android { */ void contentDraw(); - // invalidate the view/display, NOT the content/DOM + /** Invalidate the view/screen, NOT the content/DOM, but expressed in + * content/DOM coordinates (i.e. they need to eventually be scaled, + * by webview into view.java coordinates + */ void viewInvalidate(const WebCore::IntRect& rect); - void viewInvalidate(const SkIRect& rect); /** * Invalidate part of the content that may be offscreen at the moment @@ -381,6 +383,7 @@ namespace android { WebCore::Node* m_snapAnchorNode; int m_screenWidth; int m_scale; + unsigned m_domtree_version; SkTDArray<PluginWidgetAndroid*> m_plugins; WebCore::Timer<WebViewCore> m_pluginInvalTimer; @@ -393,7 +396,7 @@ namespace android { bool commonKitFocus(int generation, int buildGeneration, WebCore::Frame* frame, WebCore::Node* node, int x, int y, bool ignoreNullFocus); - bool finalKitFocus(WebCore::Frame* frame, WebCore::Node* node, int x, int y); + bool finalKitFocus(WebCore::Frame* frame, WebCore::Node* node, int x, int y, bool donotChangeDOMFocus); void doMaxScroll(CacheBuilder::Direction dir); SkPicture* rebuildPicture(const SkIRect& inval); void rebuildPictureSet(PictureSet* ); |
