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

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

Issue 23364004: Implementation of device metrics emulation in render view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Style Created 7 years, 3 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_wrapper.h
===================================================================
--- content/renderer/gpu/input_handler_wrapper.h (revision 221161)
+++ content/renderer/gpu/input_handler_wrapper.h (working copy)
@@ -27,6 +27,9 @@
int routing_id() const { return routing_id_; }
InputHandlerProxy* input_handler_proxy() { return &input_handler_proxy_; }
+ InputEventRewriter* rewriter() const { return rewriter_.get(); }
+ void SetRewriter(scoped_ptr<InputEventRewriter> rewriter);
+
// InputHandlerProxyClient implementation.
virtual void WillShutdown() OVERRIDE;
virtual void TransferActiveWheelFlingAnimation(
@@ -46,6 +49,7 @@
int routing_id_;
InputHandlerProxy input_handler_proxy_;
scoped_refptr<base::MessageLoopProxy> main_loop_;
+ scoped_ptr<InputEventRewriter> rewriter_;
// Can only be accessed on the main thread.
base::WeakPtr<RenderViewImpl> render_view_impl_;

Powered by Google App Engine
This is Rietveld 408576698