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

Unified Diff: chrome/browser/chromeos/accessibility/accessibility_manager.h

Issue 2808053004: Fire accessibilityPrivate events on two-finger hold gesture. (Closed)
Patch Set: Address feedback Created 3 years, 8 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: chrome/browser/chromeos/accessibility/accessibility_manager.h
diff --git a/chrome/browser/chromeos/accessibility/accessibility_manager.h b/chrome/browser/chromeos/accessibility/accessibility_manager.h
index dd9fe7639ba73894c4fb2d2441f98811ffeb04c8..ff2e326c3ad2000f1180f9f8250f1d026b978ae5 100644
--- a/chrome/browser/chromeos/accessibility/accessibility_manager.h
+++ b/chrome/browser/chromeos/accessibility/accessibility_manager.h
@@ -260,6 +260,14 @@ class AccessibilityManager
// Notify accessibility when locale changes occur.
void OnLocaleChanged();
+ // Called when we first detect two fingers are held down, which can be
+ // used to toggle spoken feedback on some touch-only devices.
+ void OnTwoFingerTouchStart();
+
+ // Called when the user is no longer holding down two fingers (including
+ // releasing one, holding down three, or moving them).
+ void OnTwoFingerTouchStop();
+
// Whether or not to enable toggling spoken feedback via holding down
// two fingers on the screen.
bool ShouldToggleSpokenFeedbackViaTouch();
« no previous file with comments | « ash/ash_touch_exploration_manager_chromeos.cc ('k') | chrome/browser/chromeos/accessibility/accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698