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

Unified Diff: content/renderer/gpu/input_handler_manager.h

Issue 15002007: Delegate root layer scroll offset to android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove spurious edits Created 7 years, 7 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/renderer/gpu/input_handler_manager.h
diff --git a/content/renderer/gpu/input_handler_manager.h b/content/renderer/gpu/input_handler_manager.h
index c33b5b772fdc75b8872145bcc109917a17a3c1cd..5206664ca654c04b5c24e1fd8db565ea167a1700 100644
--- a/content/renderer/gpu/input_handler_manager.h
+++ b/content/renderer/gpu/input_handler_manager.h
@@ -17,6 +17,7 @@ class MessageLoopProxy;
namespace cc {
class InputHandler;
+class LayerScrollOffsetDelegate;
}
namespace WebKit {
@@ -51,6 +52,13 @@ class InputHandlerManager {
const base::WeakPtr<cc::InputHandler>& input_handler,
const base::WeakPtr<RenderViewImpl>& render_view_impl);
+ // Called from the compositor's thread.
+ // |layer_scroll_delegate| will be accessed from the Compositor Impl thread
+ // and must outlive the InputHandler that it's associated with.
+ void SetRootLayerScrollDelegate(
joth 2013/06/01 02:11:35 @jdduke - any comments on duplicating this cc::Inp
+ int routing_id,
+ cc::LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate);
+
// Callback only from the compositor's thread.
void RemoveInputHandler(int routing_id);

Powered by Google App Engine
This is Rietveld 408576698