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

Unified Diff: ash/root_window_controller.cc

Issue 2007863004: Fix the double-tap to click gesture in touch accessibility mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 68bbc74426e0029a37837c1bb102429d1182934d..91acd12e5e39d0c3497b95cc29bf89485b01fd56 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -676,6 +676,14 @@ bool RootWindowController::IsVirtualKeyboardWindow(aura::Window* window) {
return parent ? parent->Contains(window) : false;
}
+void RootWindowController::SetTouchAccessibilityAnchorPoint(
+ const gfx::Point& anchor_point) {
+#if defined(OS_CHROMEOS)
+ if (touch_exploration_manager_)
+ touch_exploration_manager_->SetTouchAccessibilityAnchorPoint(anchor_point);
+#endif // defined(OS_CHROMEOS)
+}
+
////////////////////////////////////////////////////////////////////////////////
// RootWindowController, private:

Powered by Google App Engine
This is Rietveld 408576698