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

Side by Side Diff: ash/ash_touch_exploration_manager_chromeos.h

Issue 410783002: Corner Passthrough for Accessibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@side-gestures
Patch Set: Removed extra comment Created 6 years, 4 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 unified diff | Download patch
« no previous file with comments | « ash/accessibility_delegate.h ('k') | ash/ash_touch_exploration_manager_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_ 5 #ifndef ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_
6 #define ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_ 6 #define ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/system/tray_accessibility.h" 9 #include "ash/system/tray_accessibility.h"
10 #include "ui/chromeos/touch_exploration_controller.h" 10 #include "ui/chromeos/touch_exploration_controller.h"
(...skipping 15 matching lines...) Expand all
26 public: 26 public:
27 explicit AshTouchExplorationManager( 27 explicit AshTouchExplorationManager(
28 RootWindowController* root_window_controller); 28 RootWindowController* root_window_controller);
29 virtual ~AshTouchExplorationManager(); 29 virtual ~AshTouchExplorationManager();
30 30
31 // AccessibilityObserver overrides: 31 // AccessibilityObserver overrides:
32 virtual void OnAccessibilityModeChanged( 32 virtual void OnAccessibilityModeChanged(
33 AccessibilityNotificationVisibility notify) OVERRIDE; 33 AccessibilityNotificationVisibility notify) OVERRIDE;
34 34
35 // TouchExplorationControllerDelegate overrides: 35 // TouchExplorationControllerDelegate overrides:
36 virtual void PlayVolumeAdjustSound() OVERRIDE;
37 virtual void SetOutputLevel(int volume) OVERRIDE; 36 virtual void SetOutputLevel(int volume) OVERRIDE;
38 virtual void SilenceSpokenFeedback() OVERRIDE; 37 virtual void SilenceSpokenFeedback() OVERRIDE;
38 virtual void PlayVolumeAdjustEarcon() OVERRIDE;
39 virtual void PlayPassthroughEarcon() OVERRIDE;
40 virtual void PlayExitScreenEarcon() OVERRIDE;
41 virtual void PlayEnterScreenEarcon() OVERRIDE;
39 42
40 private: 43 private:
41 void UpdateTouchExplorationState(); 44 void UpdateTouchExplorationState();
42 bool VolumeAdjustSoundEnabled(); 45 bool VolumeAdjustSoundEnabled();
43 46
44 scoped_ptr<ui::TouchExplorationController> touch_exploration_controller_; 47 scoped_ptr<ui::TouchExplorationController> touch_exploration_controller_;
45 RootWindowController* root_window_controller_; 48 RootWindowController* root_window_controller_;
46 chromeos::CrasAudioHandler* audio_handler_; 49 chromeos::CrasAudioHandler* audio_handler_;
47 50
48 DISALLOW_COPY_AND_ASSIGN(AshTouchExplorationManager); 51 DISALLOW_COPY_AND_ASSIGN(AshTouchExplorationManager);
49 }; 52 };
50 53
51 } // namespace ash 54 } // namespace ash
52 55
53 #endif // ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_ 56 #endif // ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ash/accessibility_delegate.h ('k') | ash/ash_touch_exploration_manager_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698