Index: ui/chromeos/touch_exploration_controller_unittest.cc |
diff --git a/ui/chromeos/touch_exploration_controller_unittest.cc b/ui/chromeos/touch_exploration_controller_unittest.cc |
index 07c05fbdca083450db3fb17bf2e27ab6f2373331..997dcb58429273ffa8b4599f631ccc11d559fe33 100644 |
--- a/ui/chromeos/touch_exploration_controller_unittest.cc |
+++ b/ui/chromeos/touch_exploration_controller_unittest.cc |
@@ -13,6 +13,7 @@ |
#include "ui/aura/window.h" |
#include "ui/events/event.h" |
#include "ui/events/event_utils.h" |
+#include "ui/events/gestures/gesture_provider_aura.h" |
#include "ui/gfx/geometry/point.h" |
#include "ui/gl/gl_implementation.h" |
#include "ui/gl/gl_surface.h" |
@@ -658,7 +659,6 @@ TEST_F(TouchExplorationTest, DoubleTap) { |
EXPECT_TRUE(IsInNoFingersDownState()); |
} |
- |
// Double-tapping where the user holds their finger down for the second time |
// for a longer press should send a touch press and released (right click) |
// to the location of the last successful touch exploration. |
@@ -952,4 +952,11 @@ TEST_F(TouchExplorationTest, SplitTapLongPressMultiFinger) { |
EXPECT_TRUE(IsInNoFingersDownState()); |
} |
+// A swipe right gesture should trigger a Shift+Search+RightArrow |
+// keyboard pressed event. |
+TEST_F(TouchExplorationTest, GestureSwipeRight) { |
+ SwitchTouchExplorationMode(true); |
+ // TODO(lisayin) add gesture tests. |
+} |
+ |
} // namespace ui |