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

Unified Diff: ui/base/gestures/gesture_types.h

Issue 10365009: Adding Gesture Recognition to RenderWidgetHostViewWin (web client) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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: ui/base/gestures/gesture_types.h
diff --git a/ui/base/gestures/gesture_types.h b/ui/base/gestures/gesture_types.h
index b8571719c858b33a239ea69569ec9997854873fd..b37e5e9b56193f04d71766e37a95dce5d43bfc0f 100644
--- a/ui/base/gestures/gesture_types.h
+++ b/ui/base/gestures/gesture_types.h
@@ -69,7 +69,7 @@ class UI_EXPORT GestureEventHelper {
virtual GestureEvent* CreateGestureEvent(EventType type,
const gfx::Point& location,
int flags,
- const base::Time time,
+ const base::Time& time,
float param_first,
float param_second,
unsigned int touch_id_bitfield) = 0;
@@ -77,7 +77,7 @@ class UI_EXPORT GestureEventHelper {
virtual TouchEvent* CreateTouchEvent(EventType type,
const gfx::Point& location,
int touch_id,
- base::TimeDelta time_stamp) = 0;
+ const base::TimeDelta& time_stamp) = 0;
virtual bool DispatchLongPressGestureEvent(GestureEvent* event) = 0;
virtual bool DispatchCancelTouchEvent(TouchEvent* event) = 0;

Powered by Google App Engine
This is Rietveld 408576698