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

Unified Diff: ui/chromeos/touch_exploration_controller.h

Issue 2535723008: Revert "Toggle spoken feedback if two fingers are held down." (Closed)
Patch Set: Don't revert metrics changes Created 4 years 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
« no previous file with comments | « ui/chromeos/touch_accessibility_enabler_unittest.cc ('k') | ui/chromeos/touch_exploration_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/chromeos/touch_exploration_controller.h
diff --git a/ui/chromeos/touch_exploration_controller.h b/ui/chromeos/touch_exploration_controller.h
index 6727c2a5eded9d6faf66f69cc16bfa2c649ddee5..0af2d079f08478a735440c089a2f7d247dd647e3 100644
--- a/ui/chromeos/touch_exploration_controller.h
+++ b/ui/chromeos/touch_exploration_controller.h
@@ -25,7 +25,6 @@ namespace ui {
class Event;
class GestureEvent;
class GestureProviderAura;
-class TouchAccessibilityEnabler;
class TouchEvent;
// A delegate to handle commands in response to detected accessibility gesture
@@ -181,8 +180,7 @@ class UI_CHROMEOS_EXPORT TouchExplorationController
public:
explicit TouchExplorationController(
aura::Window* root_window,
- ui::TouchExplorationControllerDelegate* delegate,
- TouchAccessibilityEnabler* touch_accessibility_enabler);
+ ui::TouchExplorationControllerDelegate* delegate);
~TouchExplorationController() override;
// Make synthesized touch events are anchored at this point. This is
@@ -508,12 +506,6 @@ class UI_CHROMEOS_EXPORT TouchExplorationController
// LocatedEvents within this area should be left alone.
gfx::Rect exclude_bounds_;
- // Code that detects a touch-screen gesture to enable or disable
- // accessibility. That handler is always running, whereas this is not,
- // but events need to be sent to TouchAccessibilityEnabler before being
- // rewritten when TouchExplorationController is running.
- TouchAccessibilityEnabler* touch_accessibility_enabler_;
-
DISALLOW_COPY_AND_ASSIGN(TouchExplorationController);
};
« no previous file with comments | « ui/chromeos/touch_accessibility_enabler_unittest.cc ('k') | ui/chromeos/touch_exploration_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698