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

Unified Diff: ui/chromeos/touch_exploration_controller_unittest.cc

Issue 330763007: Swipe Gestures for Accessibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gesture-vlogs
Patch Set: Time Out added for Gestures Created 6 years, 6 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_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
« ui/chromeos/touch_exploration_controller.cc ('K') | « ui/chromeos/touch_exploration_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698