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

Unified Diff: content/browser/renderer_host/input/synthetic_gesture_target.h

Issue 134123003: Generate proper LatencyInfo components for synthetic gestures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove InputEvent forward decl Created 6 years, 11 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/browser/renderer_host/input/synthetic_gesture_target.h
diff --git a/content/browser/renderer_host/input/synthetic_gesture_target.h b/content/browser/renderer_host/input/synthetic_gesture_target.h
index 01487fc277295b033f552a6a55314c7c5ce2f9d2..4605a18f09efc2afc4cd060022e29a2006e81a68 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_target.h
+++ b/content/browser/renderer_host/input/synthetic_gesture_target.h
@@ -10,9 +10,11 @@
#include "content/common/content_export.h"
#include "content/common/input/synthetic_gesture_params.h"
-namespace content {
+namespace blink {
+class WebInputEvent;
+}
-class InputEvent;
+namespace content {
// Interface between the synthetic gesture controller and the RenderWidgetHost.
class CONTENT_EXPORT SyntheticGestureTarget {
@@ -23,7 +25,8 @@ class CONTENT_EXPORT SyntheticGestureTarget {
// Allows synthetic gestures to insert input events in the highest level of
// input processing on the target platform (e.g. Java on Android), so that
// the event traverses the entire input processing stack.
- virtual void DispatchInputEventToPlatform(const InputEvent& event) = 0;
+ virtual void DispatchInputEventToPlatform(
+ const blink::WebInputEvent& event) = 0;
// Called by SyntheticGestureController when a gesture has finished.
virtual void OnSyntheticGestureCompleted(

Powered by Google App Engine
This is Rietveld 408576698