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

Side by Side Diff: ash/default_accessibility_delegate.h

Issue 213233003: Show a notification when a braille display is connected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Style and const correctness fixes. Created 6 years, 9 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/ash_strings.grd ('k') | ash/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_DEFAULT_ACCESSIBILITY_DELEGATE_H_ 5 #ifndef ASH_DEFAULT_ACCESSIBILITY_DELEGATE_H_
6 #define ASH_DEFAULT_ACCESSIBILITY_DELEGATE_H_ 6 #define ASH_DEFAULT_ACCESSIBILITY_DELEGATE_H_
7 7
8 #include "ash/accessibility_delegate.h" 8 #include "ash/accessibility_delegate.h"
9 #include "ash/ash_export.h" 9 #include "ash/ash_export.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 14 matching lines...) Expand all
25 virtual void SetMagnifierType(MagnifierType type) OVERRIDE; 25 virtual void SetMagnifierType(MagnifierType type) OVERRIDE;
26 virtual bool IsMagnifierEnabled() const OVERRIDE; 26 virtual bool IsMagnifierEnabled() const OVERRIDE;
27 virtual MagnifierType GetMagnifierType() const OVERRIDE; 27 virtual MagnifierType GetMagnifierType() const OVERRIDE;
28 virtual void SetLargeCursorEnabled(bool enabled) OVERRIDE; 28 virtual void SetLargeCursorEnabled(bool enabled) OVERRIDE;
29 virtual bool IsLargeCursorEnabled() const OVERRIDE; 29 virtual bool IsLargeCursorEnabled() const OVERRIDE;
30 virtual void SetAutoclickEnabled(bool enabled) OVERRIDE; 30 virtual void SetAutoclickEnabled(bool enabled) OVERRIDE;
31 virtual bool IsAutoclickEnabled() const OVERRIDE; 31 virtual bool IsAutoclickEnabled() const OVERRIDE;
32 virtual void SetVirtualKeyboardEnabled(bool enabled) OVERRIDE; 32 virtual void SetVirtualKeyboardEnabled(bool enabled) OVERRIDE;
33 virtual bool IsVirtualKeyboardEnabled() const OVERRIDE; 33 virtual bool IsVirtualKeyboardEnabled() const OVERRIDE;
34 virtual bool ShouldShowAccessibilityMenu() const OVERRIDE; 34 virtual bool ShouldShowAccessibilityMenu() const OVERRIDE;
35 virtual bool IsBrailleDisplayConnected() const OVERRIDE;
35 virtual void SilenceSpokenFeedback() const OVERRIDE; 36 virtual void SilenceSpokenFeedback() const OVERRIDE;
36 virtual void ToggleSpokenFeedback( 37 virtual void ToggleSpokenFeedback(
37 AccessibilityNotificationVisibility notify) OVERRIDE; 38 AccessibilityNotificationVisibility notify) OVERRIDE;
38 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; 39 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE;
39 virtual double GetSavedScreenMagnifierScale() OVERRIDE; 40 virtual double GetSavedScreenMagnifierScale() OVERRIDE;
40 virtual void TriggerAccessibilityAlert(AccessibilityAlert alert) OVERRIDE; 41 virtual void TriggerAccessibilityAlert(AccessibilityAlert alert) OVERRIDE;
41 virtual AccessibilityAlert GetLastAccessibilityAlert() OVERRIDE; 42 virtual AccessibilityAlert GetLastAccessibilityAlert() OVERRIDE;
42 virtual base::TimeDelta PlayShutdownSound() const OVERRIDE; 43 virtual base::TimeDelta PlayShutdownSound() const OVERRIDE;
43 44
44 private: 45 private:
45 bool spoken_feedback_enabled_; 46 bool spoken_feedback_enabled_;
46 bool high_contrast_enabled_; 47 bool high_contrast_enabled_;
47 bool screen_magnifier_enabled_; 48 bool screen_magnifier_enabled_;
48 MagnifierType screen_magnifier_type_; 49 MagnifierType screen_magnifier_type_;
49 bool large_cursor_enabled_; 50 bool large_cursor_enabled_;
50 bool autoclick_enabled_; 51 bool autoclick_enabled_;
51 bool virtual_keyboard_enabled_; 52 bool virtual_keyboard_enabled_;
52 AccessibilityAlert accessibility_alert_; 53 AccessibilityAlert accessibility_alert_;
53 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate); 54 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate);
54 }; 55 };
55 56
56 } // namespace internal 57 } // namespace internal
57 } // namespace ash 58 } // namespace ash
58 59
59 #endif // DEFAULT_ACCESSIBILITY_DELEGATE_H_ 60 #endif // DEFAULT_ACCESSIBILITY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/ash_strings.grd ('k') | ash/default_accessibility_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698