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

Side by Side Diff: ash/default_accessibility_delegate.h

Issue 1953613002: Make touch accessibility gestures work with ChromeVox Next (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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
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/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 bool IsBrailleDisplayConnected() const override; 46 bool IsBrailleDisplayConnected() const override;
47 void SilenceSpokenFeedback() const override; 47 void SilenceSpokenFeedback() const override;
48 void ToggleSpokenFeedback( 48 void ToggleSpokenFeedback(
49 ui::AccessibilityNotificationVisibility notify) override; 49 ui::AccessibilityNotificationVisibility notify) override;
50 void SaveScreenMagnifierScale(double scale) override; 50 void SaveScreenMagnifierScale(double scale) override;
51 double GetSavedScreenMagnifierScale() override; 51 double GetSavedScreenMagnifierScale() override;
52 void TriggerAccessibilityAlert(ui::AccessibilityAlert alert) override; 52 void TriggerAccessibilityAlert(ui::AccessibilityAlert alert) override;
53 ui::AccessibilityAlert GetLastAccessibilityAlert() override; 53 ui::AccessibilityAlert GetLastAccessibilityAlert() override;
54 void PlayEarcon(int sound_key) override; 54 void PlayEarcon(int sound_key) override;
55 base::TimeDelta PlayShutdownSound() const override; 55 base::TimeDelta PlayShutdownSound() const override;
56 void HandleAccessibilityGesture(ui::AXGesture gesture) override;
56 57
57 private: 58 private:
58 bool spoken_feedback_enabled_ = false; 59 bool spoken_feedback_enabled_ = false;
59 bool high_contrast_enabled_ = false; 60 bool high_contrast_enabled_ = false;
60 bool screen_magnifier_enabled_ = false; 61 bool screen_magnifier_enabled_ = false;
61 ui::MagnifierType screen_magnifier_type_ = ui::kDefaultMagnifierType; 62 ui::MagnifierType screen_magnifier_type_ = ui::kDefaultMagnifierType;
62 bool large_cursor_enabled_ = false; 63 bool large_cursor_enabled_ = false;
63 bool autoclick_enabled_ = false; 64 bool autoclick_enabled_ = false;
64 bool virtual_keyboard_enabled_ = false; 65 bool virtual_keyboard_enabled_ = false;
65 bool mono_audio_enabled_ = false; 66 bool mono_audio_enabled_ = false;
66 bool caret_highlight_enabled_ = false; 67 bool caret_highlight_enabled_ = false;
67 bool cursor_highlight_enabled_ = false; 68 bool cursor_highlight_enabled_ = false;
68 bool focus_highligh_enabled_ = false; 69 bool focus_highligh_enabled_ = false;
69 bool select_to_speak_enabled_ = false; 70 bool select_to_speak_enabled_ = false;
70 bool switch_access_enabled_ = false; 71 bool switch_access_enabled_ = false;
71 ui::AccessibilityAlert accessibility_alert_ = ui::A11Y_ALERT_NONE; 72 ui::AccessibilityAlert accessibility_alert_ = ui::A11Y_ALERT_NONE;
72 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate); 73 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate);
73 }; 74 };
74 75
75 } // namespace ash 76 } // namespace ash
76 77
77 #endif // DEFAULT_ACCESSIBILITY_DELEGATE_H_ 78 #endif // DEFAULT_ACCESSIBILITY_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698