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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
161 // Shows the settings related to network. If |service_path| is not empty, | 161 // Shows the settings related to network. If |service_path| is not empty, |
162 // show the settings for that network. | 162 // show the settings for that network. |
163 virtual void ShowNetworkSettings(const std::string& service_path) = 0; | 163 virtual void ShowNetworkSettings(const std::string& service_path) = 0; |
164 | 164 |
165 // Shows the settings related to bluetooth. | 165 // Shows the settings related to bluetooth. |
166 virtual void ShowBluetoothSettings() = 0; | 166 virtual void ShowBluetoothSettings() = 0; |
167 | 167 |
168 // Shows settings related to multiple displays. | 168 // Shows settings related to multiple displays. |
169 virtual void ShowDisplaySettings() = 0; | 169 virtual void ShowDisplaySettings() = 0; |
170 | 170 |
171 // Shows the page that lets you disable performance tracing. | |
172 virtual void ShowSlow() = 0; | |
James Cook
2013/08/09 20:06:02
This seems like the name should be more descriptiv
Zachary Kuznia
2013/08/09 20:58:04
Done.
| |
173 | |
171 // Returns true if the notification for the display configuration change | 174 // Returns true if the notification for the display configuration change |
172 // should appear. | 175 // should appear. |
173 virtual bool ShouldShowDisplayNotification() = 0; | 176 virtual bool ShouldShowDisplayNotification() = 0; |
174 | 177 |
175 // Shows settings related to Google Drive. | 178 // Shows settings related to Google Drive. |
176 virtual void ShowDriveSettings() = 0; | 179 virtual void ShowDriveSettings() = 0; |
177 | 180 |
178 // Shows settings related to input methods. | 181 // Shows settings related to input methods. |
179 virtual void ShowIMESettings() = 0; | 182 virtual void ShowIMESettings() = 0; |
180 | 183 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
316 // Speaks the given text if spoken feedback is enabled. | 319 // Speaks the given text if spoken feedback is enabled. |
317 virtual void MaybeSpeak(const std::string& utterance) const = 0; | 320 virtual void MaybeSpeak(const std::string& utterance) const = 0; |
318 | 321 |
319 // Creates a dummy delegate for testing. | 322 // Creates a dummy delegate for testing. |
320 static SystemTrayDelegate* CreateDummyDelegate(); | 323 static SystemTrayDelegate* CreateDummyDelegate(); |
321 }; | 324 }; |
322 | 325 |
323 } // namespace ash | 326 } // namespace ash |
324 | 327 |
325 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 328 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |