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

Unified Diff: content/public/browser/android/synchronous_compositor.h

Issue 15002007: Delegate root layer scroll offset to android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unittest compile Created 7 years, 6 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: content/public/browser/android/synchronous_compositor.h
diff --git a/content/public/browser/android/synchronous_compositor.h b/content/public/browser/android/synchronous_compositor.h
index dbc9af5807577d56227c33bf7dc6ac03dbbb0e50..4eaa5741dff19db4f6477f80849a69b0ce94a248 100644
--- a/content/public/browser/android/synchronous_compositor.h
+++ b/content/public/browser/android/synchronous_compositor.h
@@ -51,6 +51,11 @@ class SynchronousCompositor {
// and clip set there-in).
virtual bool DemandDrawSw(SkCanvas* canvas) = 0;
+ // Should be called by the embedder after the embedder had modified the
+ // scroll offset of the root layer (as returned by
+ // SynchronousCompositorClient::GetTotalRootLayerScrollOffset).
+ virtual void DidChangeRootLayerScrollOffset() = 0;
+
protected:
virtual ~SynchronousCompositor() {}
};

Powered by Google App Engine
This is Rietveld 408576698