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

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

Issue 2664013002: input: Restrict synthetic touch gesture to view bounds.
Patch Set: Created 3 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_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..d8d925ed7b297b903407faf3d2519e142159b922 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_target_base.h
+++ b/content/browser/renderer_host/input/synthetic_gesture_target_base.h
@@ -54,6 +54,8 @@ class SyntheticGestureTargetBase : public SyntheticGestureTarget {
float GetMinScalingSpanInDips() const override;
+ gfx::Size GetViewSize() const override;
+
protected:
RenderWidgetHostImpl* render_widget_host() const { return host_; }

Powered by Google App Engine
This is Rietveld 408576698