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); |