Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1478)

Unified Diff: android_webview/browser/browser_view_renderer_client.h

Issue 394113002: Tiling priorities in Android Webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up the APIs in BVR client a little Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/browser/browser_view_renderer_client.h
diff --git a/android_webview/browser/browser_view_renderer_client.h b/android_webview/browser/browser_view_renderer_client.h
index 41fbf5a4b3b5c0d0fc16e983e8f730ddff9c9bc3..41d5e30226f960f520b31f41e56e3bd7da3f95bf 100644
--- a/android_webview/browser/browser_view_renderer_client.h
+++ b/android_webview/browser/browser_view_renderer_client.h
@@ -28,6 +28,11 @@ class BrowserViewRendererClient {
// Called to trigger view invalidations.
virtual void PostInvalidate() = 0;
+ // Called to trigger an invalidation on the view, if there is not another
+ // invalidate pending and the parent draw constraints in browser view
+ // renderer becomes stale.
+ virtual void InvalidateOnceIfNeeded() = 0;
boliu 2014/07/29 23:50:41 Call this something like "ParentConstraintsUpdated
hush (inactive) 2014/07/30 00:11:32 Renamed it to UpdateParentDrawConstraints. And ren
+
// Called to get view's absolute location on the screen.
virtual gfx::Point GetLocationOnScreen() = 0;

Powered by Google App Engine
This is Rietveld 408576698