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

Side by Side Diff: ash/common/default_accessibility_delegate.h

Issue 2396913002: Stop chromevox audio and clear focus highlight on switch to arc app (Closed)
Patch Set: Created 4 years, 2 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/common/accessibility_delegate.h ('k') | ash/common/default_accessibility_delegate.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_COMMON_DEFAULT_ACCESSIBILITY_DELEGATE_H_ 5 #ifndef ASH_COMMON_DEFAULT_ACCESSIBILITY_DELEGATE_H_
6 #define ASH_COMMON_DEFAULT_ACCESSIBILITY_DELEGATE_H_ 6 #define ASH_COMMON_DEFAULT_ACCESSIBILITY_DELEGATE_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/accessibility_delegate.h" 9 #include "ash/common/accessibility_delegate.h"
10 #include "ash/common/accessibility_types.h" 10 #include "ash/common/accessibility_types.h"
(...skipping 27 matching lines...) Expand all
38 bool IsCursorHighlightEnabled() const override; 38 bool IsCursorHighlightEnabled() const override;
39 void SetFocusHighlightEnabled(bool enabled) override; 39 void SetFocusHighlightEnabled(bool enabled) override;
40 bool IsFocusHighlightEnabled() const override; 40 bool IsFocusHighlightEnabled() const override;
41 void SetSelectToSpeakEnabled(bool enabled) override; 41 void SetSelectToSpeakEnabled(bool enabled) override;
42 bool IsSelectToSpeakEnabled() const override; 42 bool IsSelectToSpeakEnabled() const override;
43 void SetSwitchAccessEnabled(bool enabled) override; 43 void SetSwitchAccessEnabled(bool enabled) override;
44 bool IsSwitchAccessEnabled() const override; 44 bool IsSwitchAccessEnabled() const override;
45 bool ShouldShowAccessibilityMenu() const override; 45 bool ShouldShowAccessibilityMenu() const override;
46 bool IsBrailleDisplayConnected() const override; 46 bool IsBrailleDisplayConnected() const override;
47 void SilenceSpokenFeedback() const override; 47 void SilenceSpokenFeedback() const override;
48 void ClearFocusHighlight() const override;
48 void ToggleSpokenFeedback( 49 void ToggleSpokenFeedback(
49 AccessibilityNotificationVisibility notify) override; 50 AccessibilityNotificationVisibility notify) override;
50 void SaveScreenMagnifierScale(double scale) override; 51 void SaveScreenMagnifierScale(double scale) override;
51 double GetSavedScreenMagnifierScale() override; 52 double GetSavedScreenMagnifierScale() override;
52 void TriggerAccessibilityAlert(AccessibilityAlert alert) override; 53 void TriggerAccessibilityAlert(AccessibilityAlert alert) override;
53 AccessibilityAlert GetLastAccessibilityAlert() override; 54 AccessibilityAlert GetLastAccessibilityAlert() override;
54 void PlayEarcon(int sound_key) override; 55 void PlayEarcon(int sound_key) override;
55 base::TimeDelta PlayShutdownSound() const override; 56 base::TimeDelta PlayShutdownSound() const override;
56 void HandleAccessibilityGesture(ui::AXGesture gesture) override; 57 void HandleAccessibilityGesture(ui::AXGesture gesture) override;
57 58
(...skipping 11 matching lines...) Expand all
69 bool focus_highligh_enabled_ = false; 70 bool focus_highligh_enabled_ = false;
70 bool select_to_speak_enabled_ = false; 71 bool select_to_speak_enabled_ = false;
71 bool switch_access_enabled_ = false; 72 bool switch_access_enabled_ = false;
72 AccessibilityAlert accessibility_alert_ = A11Y_ALERT_NONE; 73 AccessibilityAlert accessibility_alert_ = A11Y_ALERT_NONE;
73 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate); 74 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate);
74 }; 75 };
75 76
76 } // namespace ash 77 } // namespace ash
77 78
78 #endif // ASH_COMMON_DEFAULT_ACCESSIBILITY_DELEGATE_H_ 79 #endif // ASH_COMMON_DEFAULT_ACCESSIBILITY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/common/accessibility_delegate.h ('k') | ash/common/default_accessibility_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698