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

Unified Diff: content/renderer/gpu/input_handler_proxy.cc

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 crrev.com/15875009 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_proxy.cc
diff --git a/content/renderer/gpu/input_handler_proxy.cc b/content/renderer/gpu/input_handler_proxy.cc
index 8943b33644ed6237e7e688b55ba5062bacd471ac..7aec5bb67d30375ccb13107bd77da554511e0872 100644
--- a/content/renderer/gpu/input_handler_proxy.cc
+++ b/content/renderer/gpu/input_handler_proxy.cc
@@ -46,6 +46,12 @@ void InputHandlerProxy::SetClient(InputHandlerProxyClient* client) {
client_ = client;
}
+void InputHandlerProxy::SetRootLayerScrollOffsetDelegate(
+ cc::LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate) {
+ input_handler_->SetRootLayerScrollOffsetDelegate(
+ root_layer_scroll_offset_delegate);
+}
+
void InputHandlerProxy::HandleInputEvent(const WebInputEvent& event) {
DCHECK(client_);
DCHECK(input_handler_);

Powered by Google App Engine
This is Rietveld 408576698