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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 // Returns if the screen magnifier is enabled or not. | 184 // Returns if the screen magnifier is enabled or not. |
185 virtual bool IsMagnifierEnabled() const = 0; | 185 virtual bool IsMagnifierEnabled() const = 0; |
186 | 186 |
187 // Returns the current screen magnifier mode. | 187 // Returns the current screen magnifier mode. |
188 virtual MagnifierType GetMagnifierType() const = 0; | 188 virtual MagnifierType GetMagnifierType() const = 0; |
189 | 189 |
190 // Returns true if the user want to show accesibility menu even when all the | 190 // Returns true if the user want to show accesibility menu even when all the |
191 // accessibility features are disabled. | 191 // accessibility features are disabled. |
192 virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0; | 192 virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0; |
193 | 193 |
| 194 // Cancel all current and queued speech immediately. |
| 195 virtual void SilenceSpokenFeedback() const = 0; |
| 196 |
194 // Invoked to create an AppListViewDelegate. Shell takes the ownership of | 197 // Invoked to create an AppListViewDelegate. Shell takes the ownership of |
195 // the created delegate. | 198 // the created delegate. |
196 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() = 0; | 199 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() = 0; |
197 | 200 |
198 // Creates a new LauncherDelegate. Shell takes ownership of the returned | 201 // Creates a new LauncherDelegate. Shell takes ownership of the returned |
199 // value. | 202 // value. |
200 virtual LauncherDelegate* CreateLauncherDelegate( | 203 virtual LauncherDelegate* CreateLauncherDelegate( |
201 ash::LauncherModel* model) = 0; | 204 ash::LauncherModel* model) = 0; |
202 | 205 |
203 // Creates a system-tray delegate. Shell takes ownership of the delegate. | 206 // Creates a system-tray delegate. Shell takes ownership of the delegate. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 // value. | 255 // value. |
253 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; | 256 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; |
254 | 257 |
255 // Get the product name. | 258 // Get the product name. |
256 virtual base::string16 GetProductName() const = 0; | 259 virtual base::string16 GetProductName() const = 0; |
257 }; | 260 }; |
258 | 261 |
259 } // namespace ash | 262 } // namespace ash |
260 | 263 |
261 #endif // ASH_SHELL_DELEGATE_H_ | 264 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |