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

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: rebase on top of Jared's CL 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 f380b0e3e5f43063383f3ddbc67152764ffbc7a0..0fb2290c557c049adc45eb0873df927fda98eb5c 100644
--- a/content/public/browser/android/synchronous_compositor.h
+++ b/content/public/browser/android/synchronous_compositor.h
@@ -51,6 +51,11 @@ class SynchronousCompositor {
const gfx::Transform& transform,
gfx::Rect damage_area) = 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