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 <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 175 |
176 // Invoked to change the type of the screen magnifier. | 176 // Invoked to change the type of the screen magnifier. |
177 virtual void SetMagnifierType(MagnifierType type) = 0; | 177 virtual void SetMagnifierType(MagnifierType type) = 0; |
178 | 178 |
179 // Returns if the screen magnifier is enabled or not. | 179 // Returns if the screen magnifier is enabled or not. |
180 virtual bool IsMagnifierEnabled() const = 0; | 180 virtual bool IsMagnifierEnabled() const = 0; |
181 | 181 |
182 // Returns the current screen magnifier mode. | 182 // Returns the current screen magnifier mode. |
183 virtual MagnifierType GetMagnifierType() const = 0; | 183 virtual MagnifierType GetMagnifierType() const = 0; |
184 | 184 |
| 185 // Invoked to enable Large Cursor. |
| 186 virtual void SetLargeCursorEnabled(bool enabled) = 0; |
| 187 |
| 188 // Returns if Large Cursor is enabled or not. |
| 189 virtual bool IsLargeCursorEnabled() const = 0; |
| 190 |
185 // Returns true if the user want to show accesibility menu even when all the | 191 // Returns true if the user want to show accesibility menu even when all the |
186 // accessibility features are disabled. | 192 // accessibility features are disabled. |
187 virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0; | 193 virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0; |
188 | 194 |
189 // Cancel all current and queued speech immediately. | 195 // Cancel all current and queued speech immediately. |
190 virtual void SilenceSpokenFeedback() const = 0; | 196 virtual void SilenceSpokenFeedback() const = 0; |
191 | 197 |
192 // Invoked to create an AppListViewDelegate. Shell takes the ownership of | 198 // Invoked to create an AppListViewDelegate. Shell takes the ownership of |
193 // the created delegate. | 199 // the created delegate. |
194 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() = 0; | 200 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() = 0; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 // value. | 256 // value. |
251 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; | 257 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; |
252 | 258 |
253 // Get the product name. | 259 // Get the product name. |
254 virtual base::string16 GetProductName() const = 0; | 260 virtual base::string16 GetProductName() const = 0; |
255 }; | 261 }; |
256 | 262 |
257 } // namespace ash | 263 } // namespace ash |
258 | 264 |
259 #endif // ASH_SHELL_DELEGATE_H_ | 265 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |