| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 // Invoked when a user locks the screen. | 50 // Invoked when a user locks the screen. |
| 51 virtual void LockScreen() = 0; | 51 virtual void LockScreen() = 0; |
| 52 | 52 |
| 53 // Unlock the screen. Currently used only for tests. | 53 // Unlock the screen. Currently used only for tests. |
| 54 virtual void UnlockScreen() = 0; | 54 virtual void UnlockScreen() = 0; |
| 55 | 55 |
| 56 // Returns true if the screen is currently locked. | 56 // Returns true if the screen is currently locked. |
| 57 virtual bool IsScreenLocked() const = 0; | 57 virtual bool IsScreenLocked() const = 0; |
| 58 | 58 |
| 59 // Returns true if spoken feedback is enabled. |
| 60 virtual bool IsSpokenFeedbackEnabled() const = 0; |
| 61 |
| 59 // Shuts down the environment. | 62 // Shuts down the environment. |
| 60 virtual void Shutdown() = 0; | 63 virtual void Shutdown() = 0; |
| 61 | 64 |
| 62 // Invoked when the user uses Ctrl-Shift-Q to close chrome. | 65 // Invoked when the user uses Ctrl-Shift-Q to close chrome. |
| 63 virtual void Exit() = 0; | 66 virtual void Exit() = 0; |
| 64 | 67 |
| 65 // Invoked when the user uses Ctrl+T to open a new tab. | 68 // Invoked when the user uses Ctrl+T to open a new tab. |
| 66 virtual void NewTab() = 0; | 69 virtual void NewTab() = 0; |
| 67 | 70 |
| 68 // Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window. | 71 // Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 // Creates a user wallpaper delegate. Shell takes ownership of the delegate. | 119 // Creates a user wallpaper delegate. Shell takes ownership of the delegate. |
| 117 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0; | 120 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0; |
| 118 | 121 |
| 119 // Creates a user action client. Shell takes ownership of the object. | 122 // Creates a user action client. Shell takes ownership of the object. |
| 120 virtual aura::client::UserActionClient* CreateUserActionClient() = 0; | 123 virtual aura::client::UserActionClient* CreateUserActionClient() = 0; |
| 121 }; | 124 }; |
| 122 | 125 |
| 123 } // namespace ash | 126 } // namespace ash |
| 124 | 127 |
| 125 #endif // ASH_SHELL_DELEGATE_H_ | 128 #endif // ASH_SHELL_DELEGATE_H_ |
| OLD | NEW |