|Print..| menu should be consistent in contextmenu with and without selection.
[chromium-blink-merge.git] / ash / default_accessibility_delegate.h
blob86115dcd0646425c8a8a0d3344d38f509df993b2
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
3 // found in the LICENSE file.
5 #ifndef ASH_DEFAULT_ACCESSIBILITY_DELEGATE_H_
6 #define ASH_DEFAULT_ACCESSIBILITY_DELEGATE_H_
8 #include "ash/accessibility_delegate.h"
9 #include "ash/ash_export.h"
10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h"
13 namespace ash {
15 class ASH_EXPORT DefaultAccessibilityDelegate : public AccessibilityDelegate {
16 public:
17 DefaultAccessibilityDelegate();
18 virtual ~DefaultAccessibilityDelegate();
20 virtual bool IsSpokenFeedbackEnabled() const override;
21 virtual void ToggleHighContrast() override;
22 virtual bool IsHighContrastEnabled() const override;
23 virtual void SetMagnifierEnabled(bool enabled) override;
24 virtual void SetMagnifierType(MagnifierType type) override;
25 virtual bool IsMagnifierEnabled() const override;
26 virtual MagnifierType GetMagnifierType() const override;
27 virtual void SetLargeCursorEnabled(bool enabled) override;
28 virtual bool IsLargeCursorEnabled() const override;
29 virtual void SetAutoclickEnabled(bool enabled) override;
30 virtual bool IsAutoclickEnabled() const override;
31 virtual void SetVirtualKeyboardEnabled(bool enabled) override;
32 virtual bool IsVirtualKeyboardEnabled() const override;
33 virtual bool ShouldShowAccessibilityMenu() const override;
34 virtual bool IsBrailleDisplayConnected() const override;
35 virtual void SilenceSpokenFeedback() const override;
36 virtual void ToggleSpokenFeedback(
37 AccessibilityNotificationVisibility notify) override;
38 virtual void SaveScreenMagnifierScale(double scale) override;
39 virtual double GetSavedScreenMagnifierScale() override;
40 virtual void TriggerAccessibilityAlert(AccessibilityAlert alert) override;
41 virtual AccessibilityAlert GetLastAccessibilityAlert() override;
42 virtual void PlayEarcon(int sound_key) override;
43 virtual base::TimeDelta PlayShutdownSound() const override;
45 private:
46 bool spoken_feedback_enabled_;
47 bool high_contrast_enabled_;
48 bool screen_magnifier_enabled_;
49 MagnifierType screen_magnifier_type_;
50 bool large_cursor_enabled_;
51 bool autoclick_enabled_;
52 bool virtual_keyboard_enabled_;
53 AccessibilityAlert accessibility_alert_;
54 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate);
57 } // namespace ash
59 #endif // DEFAULT_ACCESSIBILITY_DELEGATE_H_