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

Unified Diff: content/renderer/gpu/input_handler_proxy.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 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.h
diff --git a/content/renderer/gpu/input_handler_proxy.h b/content/renderer/gpu/input_handler_proxy.h
index c3f0fc25907d8d2fade3ecca8303d4c71d8b9879..f7caac9774724b41552449565583a2e0b203659c 100644
--- a/content/renderer/gpu/input_handler_proxy.h
+++ b/content/renderer/gpu/input_handler_proxy.h
@@ -9,6 +9,7 @@
#include "base/hash_tables.h"
#include "base/memory/scoped_ptr.h"
#include "cc/input/input_handler.h"
+#include "cc/input/layer_scroll_offset_delegate.h"
#include "content/common/content_export.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebGestureCurve.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebGestureCurveTarget.h"
@@ -31,6 +32,8 @@ class CONTENT_EXPORT InputHandlerProxy
virtual ~InputHandlerProxy();
void SetClient(InputHandlerProxyClient* client);
+ void SetRootLayerScrollOffsetDelegate(
+ cc::LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate);
void HandleInputEvent(const WebKit::WebInputEvent& event);
// cc::InputHandlerClient implementation.

Powered by Google App Engine
This is Rietveld 408576698