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

Side by Side Diff: ash/default_accessibility_delegate.h

Issue 682943002: Make chrome/browser/chromeos/accessibility compile on Athena with use_ash=0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_do_not_use_ash41_scroll_end_effect
Patch Set: Created 6 years, 1 month 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_touch_exploration_manager_chromeos.cc ('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"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 12
13 namespace ash { 13 namespace ash {
14 14
15 class ASH_EXPORT DefaultAccessibilityDelegate : public AccessibilityDelegate { 15 class ASH_EXPORT DefaultAccessibilityDelegate : public AccessibilityDelegate {
16 public: 16 public:
17 DefaultAccessibilityDelegate(); 17 DefaultAccessibilityDelegate();
18 ~DefaultAccessibilityDelegate() override; 18 ~DefaultAccessibilityDelegate() override;
19 19
20 bool IsSpokenFeedbackEnabled() const override; 20 bool IsSpokenFeedbackEnabled() const override;
21 void ToggleHighContrast() override; 21 void ToggleHighContrast() override;
22 bool IsHighContrastEnabled() const override; 22 bool IsHighContrastEnabled() const override;
23 void SetMagnifierEnabled(bool enabled) override; 23 void SetMagnifierEnabled(bool enabled) override;
24 void SetMagnifierType(MagnifierType type) override; 24 void SetMagnifierType(ui::MagnifierType type) override;
25 bool IsMagnifierEnabled() const override; 25 bool IsMagnifierEnabled() const override;
26 MagnifierType GetMagnifierType() const override; 26 ui::MagnifierType GetMagnifierType() const override;
27 void SetLargeCursorEnabled(bool enabled) override; 27 void SetLargeCursorEnabled(bool enabled) override;
28 bool IsLargeCursorEnabled() const override; 28 bool IsLargeCursorEnabled() const override;
29 void SetAutoclickEnabled(bool enabled) override; 29 void SetAutoclickEnabled(bool enabled) override;
30 bool IsAutoclickEnabled() const override; 30 bool IsAutoclickEnabled() const override;
31 void SetVirtualKeyboardEnabled(bool enabled) override; 31 void SetVirtualKeyboardEnabled(bool enabled) override;
32 bool IsVirtualKeyboardEnabled() const override; 32 bool IsVirtualKeyboardEnabled() const override;
33 bool ShouldShowAccessibilityMenu() const override; 33 bool ShouldShowAccessibilityMenu() const override;
34 bool IsBrailleDisplayConnected() const override; 34 bool IsBrailleDisplayConnected() const override;
35 void SilenceSpokenFeedback() const override; 35 void SilenceSpokenFeedback() const override;
36 void ToggleSpokenFeedback( 36 void ToggleSpokenFeedback(
37 AccessibilityNotificationVisibility notify) override; 37 ui::AccessibilityNotificationVisibility notify) override;
38 void SaveScreenMagnifierScale(double scale) override; 38 void SaveScreenMagnifierScale(double scale) override;
39 double GetSavedScreenMagnifierScale() override; 39 double GetSavedScreenMagnifierScale() override;
40 void TriggerAccessibilityAlert(AccessibilityAlert alert) override; 40 void TriggerAccessibilityAlert(ui::AccessibilityAlert alert) override;
41 AccessibilityAlert GetLastAccessibilityAlert() override; 41 ui::AccessibilityAlert GetLastAccessibilityAlert() override;
42 void PlayEarcon(int sound_key) override; 42 void PlayEarcon(int sound_key) override;
43 base::TimeDelta PlayShutdownSound() const override; 43 base::TimeDelta PlayShutdownSound() const override;
44 44
45 private: 45 private:
46 bool spoken_feedback_enabled_; 46 bool spoken_feedback_enabled_;
47 bool high_contrast_enabled_; 47 bool high_contrast_enabled_;
48 bool screen_magnifier_enabled_; 48 bool screen_magnifier_enabled_;
49 MagnifierType screen_magnifier_type_; 49 ui::MagnifierType screen_magnifier_type_;
50 bool large_cursor_enabled_; 50 bool large_cursor_enabled_;
51 bool autoclick_enabled_; 51 bool autoclick_enabled_;
52 bool virtual_keyboard_enabled_; 52 bool virtual_keyboard_enabled_;
53 AccessibilityAlert accessibility_alert_; 53 ui::AccessibilityAlert accessibility_alert_;
54 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate); 54 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate);
55 }; 55 };
56 56
57 } // namespace ash 57 } // namespace ash
58 58
59 #endif // DEFAULT_ACCESSIBILITY_DELEGATE_H_ 59 #endif // DEFAULT_ACCESSIBILITY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/ash_touch_exploration_manager_chromeos.cc ('k') | ash/default_accessibility_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698