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 enable the screen magnifier. | 152 // Invoked to change the mode of the screen magnifier. |
153 virtual void SetMagnifierEnabled(bool enabled) = 0; | 153 virtual void SetMagnifier(MagnifierType type) = 0; |
154 | |
155 // Invoked to change the type of the screen magnifier. | |
156 virtual void SetMagnifierType(MagnifierType type) = 0; | |
157 | |
158 // Returns if the screen magnifier is enabled or not. | |
159 virtual bool IsMagnifierEnabled() const = 0; | |
160 | 154 |
161 // Returns the current screen magnifier mode. | 155 // Returns the current screen magnifier mode. |
162 virtual MagnifierType GetMagnifierType() const = 0; | 156 virtual MagnifierType GetMagnifierType() const = 0; |
163 | 157 |
164 // Returns true if the user want to show accesibility menu even when all the | 158 // Returns true if the user want to show accesibility menu even when all the |
165 // accessibility features are disabled. | 159 // accessibility features are disabled. |
166 virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0; | 160 virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0; |
167 | 161 |
168 // Invoked to create an AppListViewDelegate. Shell takes the ownership of | 162 // Invoked to create an AppListViewDelegate. Shell takes the ownership of |
169 // the created delegate. | 163 // the created delegate. |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 virtual aura::client::StackingClient* CreateStackingClient() = 0; | 217 virtual aura::client::StackingClient* CreateStackingClient() = 0; |
224 | 218 |
225 // Creates a root window host factory. Shell takes ownership of the returned | 219 // Creates a root window host factory. Shell takes ownership of the returned |
226 // value. | 220 // value. |
227 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; | 221 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; |
228 }; | 222 }; |
229 | 223 |
230 } // namespace ash | 224 } // namespace ash |
231 | 225 |
232 #endif // ASH_SHELL_DELEGATE_H_ | 226 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |