| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SHELL_DELEGATE_H_ | 5 #ifndef ASH_SHELL_DELEGATE_H_ |
| 6 #define ASH_SHELL_DELEGATE_H_ | 6 #define ASH_SHELL_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 142 |
| 143 // Returns true if spoken feedback is enabled. | 143 // Returns true if spoken feedback is enabled. |
| 144 virtual bool IsSpokenFeedbackEnabled() const = 0; | 144 virtual bool IsSpokenFeedbackEnabled() const = 0; |
| 145 | 145 |
| 146 // Invoked to toggle high contrast for accessibility. | 146 // Invoked to toggle high contrast for accessibility. |
| 147 virtual void ToggleHighContrast() = 0; | 147 virtual void ToggleHighContrast() = 0; |
| 148 | 148 |
| 149 // Returns true if high contrast mode is enabled. | 149 // Returns true if high contrast mode is enabled. |
| 150 virtual bool IsHighContrastEnabled() const = 0; | 150 virtual bool IsHighContrastEnabled() const = 0; |
| 151 | 151 |
| 152 // Invoked to change the mode of the screen magnifier. | 152 // Invoked to enable the screen magnifier. |
| 153 virtual void SetMagnifier(MagnifierType type) = 0; | 153 virtual void SetMagnifier(bool enabled, MagnifierType type) = 0; |
| 154 |
| 155 // Returns if the screen magnifier is enabled or not. |
| 156 virtual bool IsMagnifierEnabled() const = 0; |
| 154 | 157 |
| 155 // Returns the current screen magnifier mode. | 158 // Returns the current screen magnifier mode. |
| 156 virtual MagnifierType GetMagnifierType() const = 0; | 159 virtual MagnifierType GetMagnifierType() const = 0; |
| 157 | 160 |
| 158 // Returns true if the user want to show accesibility menu even when all the | 161 // Returns true if the user want to show accesibility menu even when all the |
| 159 // accessibility features are disabled. | 162 // accessibility features are disabled. |
| 160 virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0; | 163 virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0; |
| 161 | 164 |
| 162 // Invoked to create an AppListViewDelegate. Shell takes the ownership of | 165 // Invoked to create an AppListViewDelegate. Shell takes the ownership of |
| 163 // the created delegate. | 166 // the created delegate. |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 virtual aura::client::StackingClient* CreateStackingClient() = 0; | 220 virtual aura::client::StackingClient* CreateStackingClient() = 0; |
| 218 | 221 |
| 219 // Creates a root window host factory. Shell takes ownership of the returned | 222 // Creates a root window host factory. Shell takes ownership of the returned |
| 220 // value. | 223 // value. |
| 221 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; | 224 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; |
| 222 }; | 225 }; |
| 223 | 226 |
| 224 } // namespace ash | 227 } // namespace ash |
| 225 | 228 |
| 226 #endif // ASH_SHELL_DELEGATE_H_ | 229 #endif // ASH_SHELL_DELEGATE_H_ |
| OLD | NEW |