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

Unified Diff: ui/chromeos/touch_exploration_controller.h

Issue 429633002: Added multi-finger gestures to touch_exploration_controller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@passthrough
Patch Set: fixed weird indents Created 6 years, 5 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/chromeos/touch_exploration_controller.h
diff --git a/ui/chromeos/touch_exploration_controller.h b/ui/chromeos/touch_exploration_controller.h
index 877163635795b1b376a574bd2e78a1cebce1f3a3..5764d716220ad09d668b71bae0a2cc9a1b809c38 100644
--- a/ui/chromeos/touch_exploration_controller.h
+++ b/ui/chromeos/touch_exploration_controller.h
@@ -212,9 +212,12 @@ class UI_CHROMEOS_EXPORT TouchExplorationController
void SideSlideControl(ui::GestureEvent* gesture);
- // Dispatches the keyboard short cut Shift+Search+<arrow key>
+ // Dispatches the keyboard short cut Shift+Search+<key>
// outside the event rewritting flow.
- void DispatchShiftSearchKeyEvent(const ui::KeyboardCode direction);
+ void DispatchShiftSearchKeyEvent(const ui::KeyboardCode third_key);
+
+ // Dispatches a single key with no flags.
+ void DispatchKeyWithNoFlags(const ui::KeyboardCode key);
scoped_ptr<ui::Event> CreateMouseMoveEvent(const gfx::PointF& location,
int flags);
@@ -394,6 +397,11 @@ class UI_CHROMEOS_EXPORT TouchExplorationController
// This toggles whether VLOGS are turned on or not.
bool VLOG_on_;
+ // This will ensure touch events continue to be sent to the gesture
+ // provider after a gesture ends, so that pointer ids are updated.
+ // It's initialized to false and set to false in ResetToNoFingersDown.
aboxhall 2014/07/30 00:25:16 Where is it set to true?
evy 2014/08/04 23:06:30 (this variable was removed, the code flow should b
+ bool send_gesture_events_;
+
// When touch_exploration_controller gets time relative to real time during
// testing, this clock is set to the simulated clock and used.
base::TickClock* tick_clock_;
« no previous file with comments | « no previous file | ui/chromeos/touch_exploration_controller.cc » ('j') | ui/chromeos/touch_exploration_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698