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

Unified Diff: content/port/browser/render_widget_host_view_port.h

Issue 26664002: SyntheticGestureTarget implementation for injecting synthetic input events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase_wip Created 7 years, 2 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/port/browser/render_widget_host_view_port.h
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index f9444b3fe3efdca34ced3389ad9099a5dc208b36..63eb182ee0ab132253201433f3f04f91bd4d6b22 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -40,8 +40,10 @@ struct WebScreenInfo;
namespace content {
class BackingStore;
+class InputEvent;
class RenderWidgetHostViewFrameSubscriber;
class SyntheticGesture;
+class SyntheticGestureTarget;
struct WebPluginGeometry;
struct NativeWebKeyboardEvent;
@@ -298,6 +300,8 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView,
// Called by the host when the input flush has completed.
virtual void OnDidFlushInput() = 0;
+ virtual SyntheticGestureTarget* CreateSyntheticGestureTarget() = 0;
jdduke (slow) 2013/10/28 15:59:47 Could we return a scoped_ptr?
+
virtual void GestureEventAck(int gesture_event_type,
InputEventAckState ack_result) = 0;

Powered by Google App Engine
This is Rietveld 408576698