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_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 142 |
143 // Shows settings related to multiple displays. | 143 // Shows settings related to multiple displays. |
144 virtual void ShowDisplaySettings() = 0; | 144 virtual void ShowDisplaySettings() = 0; |
145 | 145 |
146 // Shows settings related to Google Drive. | 146 // Shows settings related to Google Drive. |
147 virtual void ShowDriveSettings() = 0; | 147 virtual void ShowDriveSettings() = 0; |
148 | 148 |
149 // Shows settings related to input methods. | 149 // Shows settings related to input methods. |
150 virtual void ShowIMESettings() = 0; | 150 virtual void ShowIMESettings() = 0; |
151 | 151 |
| 152 // Show accessilibity help. |
| 153 virtual void ShowAccessibilityHelp() = 0; |
| 154 |
152 // Shows help. | 155 // Shows help. |
153 virtual void ShowHelp() = 0; | 156 virtual void ShowHelp() = 0; |
154 | 157 |
155 // Attempts to shut down the system. | 158 // Attempts to shut down the system. |
156 virtual void ShutDown() = 0; | 159 virtual void ShutDown() = 0; |
157 | 160 |
158 // Attempts to sign out the user. | 161 // Attempts to sign out the user. |
159 virtual void SignOut() = 0; | 162 virtual void SignOut() = 0; |
160 | 163 |
161 // Attempts to lock the screen. | 164 // Attempts to lock the screen. |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 virtual void SetVolumeControlDelegate( | 292 virtual void SetVolumeControlDelegate( |
290 scoped_ptr<VolumeControlDelegate> delegate) = 0; | 293 scoped_ptr<VolumeControlDelegate> delegate) = 0; |
291 | 294 |
292 // Creates a dummy delegate for testing. | 295 // Creates a dummy delegate for testing. |
293 static SystemTrayDelegate* CreateDummyDelegate(); | 296 static SystemTrayDelegate* CreateDummyDelegate(); |
294 }; | 297 }; |
295 | 298 |
296 } // namespace ash | 299 } // namespace ash |
297 | 300 |
298 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 301 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |