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

Unified Diff: ash/ash_touch_exploration_manager_chromeos.cc

Issue 2808053004: Fire accessibilityPrivate events on two-finger hold gesture. (Closed)
Patch Set: Rebase 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: ash/ash_touch_exploration_manager_chromeos.cc
diff --git a/ash/ash_touch_exploration_manager_chromeos.cc b/ash/ash_touch_exploration_manager_chromeos.cc
index 11fb5b75c53182dd4d8026206a888939d75c214e..986540b04b67a157eb27a730ba9744c38c581d0b 100644
--- a/ash/ash_touch_exploration_manager_chromeos.cc
+++ b/ash/ash_touch_exploration_manager_chromeos.cc
@@ -104,6 +104,18 @@ void AshTouchExplorationManager::OnDisplayMetricsChanged(
UpdateTouchExplorationState();
}
+void AshTouchExplorationManager::OnTwoFingerTouchStart() {
+ AccessibilityDelegate* delegate =
+ Shell::GetInstance()->accessibility_delegate();
+ delegate->OnTwoFingerTouchStart();
+}
+
+void AshTouchExplorationManager::OnTwoFingerTouchStop() {
+ AccessibilityDelegate* delegate =
+ Shell::GetInstance()->accessibility_delegate();
+ delegate->OnTwoFingerTouchStart();
+}
+
void AshTouchExplorationManager::PlaySpokenFeedbackToggleCountdown(
int tick_count) {
AccessibilityDelegate* delegate = Shell::Get()->accessibility_delegate();

Powered by Google App Engine
This is Rietveld 408576698