| OLD | NEW |
| 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 23 matching lines...) Expand all Loading... |
| 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 ui::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(ui::AccessibilityAlert alert) override; | 40 void TriggerAccessibilityAlert(ui::AccessibilityAlert alert) override; |
| 41 ui::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 void ComputeWorkAreaInsets(aura::Window* root_window, |
| 45 gfx::Insets* out_insets) const override; |
| 44 | 46 |
| 45 private: | 47 private: |
| 46 bool spoken_feedback_enabled_; | 48 bool spoken_feedback_enabled_; |
| 47 bool high_contrast_enabled_; | 49 bool high_contrast_enabled_; |
| 48 bool screen_magnifier_enabled_; | 50 bool screen_magnifier_enabled_; |
| 49 ui::MagnifierType screen_magnifier_type_; | 51 ui::MagnifierType screen_magnifier_type_; |
| 50 bool large_cursor_enabled_; | 52 bool large_cursor_enabled_; |
| 51 bool autoclick_enabled_; | 53 bool autoclick_enabled_; |
| 52 bool virtual_keyboard_enabled_; | 54 bool virtual_keyboard_enabled_; |
| 53 ui::AccessibilityAlert accessibility_alert_; | 55 ui::AccessibilityAlert accessibility_alert_; |
| 54 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate); | 56 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate); |
| 55 }; | 57 }; |
| 56 | 58 |
| 57 } // namespace ash | 59 } // namespace ash |
| 58 | 60 |
| 59 #endif // DEFAULT_ACCESSIBILITY_DELEGATE_H_ | 61 #endif // DEFAULT_ACCESSIBILITY_DELEGATE_H_ |
| OLD | NEW |