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

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: 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_proxy.cc
diff --git a/content/renderer/gpu/input_handler_proxy.cc b/content/renderer/gpu/input_handler_proxy.cc
index 24c541c92fe1ba546125ecd4d74217fc4b59a6ff..c0e7fb44d328394f0d95e6f8b3b3f45d96788531 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_);
« content/renderer/gpu/input_handler_manager.h ('K') | « content/renderer/gpu/input_handler_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698