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

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

Issue 2742473002: gpu benchmarking swipe for touchpad
Patch Set: Update direction in tests that use swipeElement/Page to maintain the same behavior. Created 3 years, 8 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_base.h
diff --git a/content/browser/renderer_host/input/synthetic_gesture_target_base.h b/content/browser/renderer_host/input/synthetic_gesture_target_base.h
index 3d01549cbd38bc6595d5b6c960e8a03ac9c60f32..b6ba88fead43dd16def5fcdb275e1f706c8e1274 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_target_base.h
+++ b/content/browser/renderer_host/input/synthetic_gesture_target_base.h
@@ -17,6 +17,7 @@ namespace blink {
class WebTouchEvent;
class WebMouseEvent;
class WebMouseWheelEvent;
+class WebGestureEvent;
}
namespace content {
@@ -40,6 +41,10 @@ class SyntheticGestureTargetBase : public SyntheticGestureTarget {
const blink::WebMouseEvent& web_mouse,
const ui::LatencyInfo& latency_info);
+ virtual void DispatchTouchpadGestureFlingStartToPlatform(
+ const blink::WebGestureEvent& web_gesture,
+ const ui::LatencyInfo& latency_info);
+
// SyntheticGestureTarget:
void DispatchInputEventToPlatform(const blink::WebInputEvent& event) override;

Powered by Google App Engine
This is Rietveld 408576698