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

Unified Diff: ui/events/gesture_detection/gesture_provider.h

Issue 223673006: Support GestureBegin and GestureEnd in ui::GestureProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/events/gesture_detection/gesture_provider.h
diff --git a/ui/events/gesture_detection/gesture_provider.h b/ui/events/gesture_detection/gesture_provider.h
index d8542194ccecf19864e1a337354629a2826a9816..8fdb03fa591837df06c30ba5b10026201c149cce 100644
--- a/ui/events/gesture_detection/gesture_provider.h
+++ b/ui/events/gesture_detection/gesture_provider.h
@@ -33,6 +33,7 @@ class GESTURE_DETECTION_EXPORT GestureProvider {
ScaleGestureDetector::Config scale_gesture_detector_config;
SnapScrollController::Config snap_scroll_controller_config;
bool disable_click_delay;
+ bool send_aura_specific_gestures;
jdduke (slow) 2014/04/03 20:17:16 Until we have more gestures, let's be specific wit
tdresser 2014/04/03 21:14:41 Done.
};
GestureProvider(const Config& config, GestureProviderClient* client);
@@ -93,6 +94,7 @@ class GESTURE_DETECTION_EXPORT GestureProvider {
bool SendLongTapIfNecessary(const MotionEvent& event);
void EndTouchScrollIfNecessary(base::TimeTicks time,
bool send_scroll_end_event);
+ void SendGestureBeginOrEndIfNecessary(const MotionEvent& event);
GestureProviderClient* const client_;
@@ -124,6 +126,8 @@ class GESTURE_DETECTION_EXPORT GestureProvider {
// opened after a GESTURE_LONG_PRESS, this is used to insert a
// GESTURE_TAP_CANCEL for removing any ::active styling.
base::TimeTicks current_longpress_time_;
+
+ bool send_aura_specific_gestures_;
};
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698