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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 // Shows the settings related to network. If |service_path| is not empty, | 162 // Shows the settings related to network. If |service_path| is not empty, |
163 // show the settings for that network. | 163 // show the settings for that network. |
164 virtual void ShowNetworkSettings(const std::string& service_path) = 0; | 164 virtual void ShowNetworkSettings(const std::string& service_path) = 0; |
165 | 165 |
166 // Shows the settings related to bluetooth. | 166 // Shows the settings related to bluetooth. |
167 virtual void ShowBluetoothSettings() = 0; | 167 virtual void ShowBluetoothSettings() = 0; |
168 | 168 |
169 // Shows settings related to multiple displays. | 169 // Shows settings related to multiple displays. |
170 virtual void ShowDisplaySettings() = 0; | 170 virtual void ShowDisplaySettings() = 0; |
171 | 171 |
| 172 // Shows the page that lets you disable performance tracing. |
| 173 virtual void ShowChromeSlow() = 0; |
| 174 |
172 // Returns true if the notification for the display configuration change | 175 // Returns true if the notification for the display configuration change |
173 // should appear. | 176 // should appear. |
174 virtual bool ShouldShowDisplayNotification() = 0; | 177 virtual bool ShouldShowDisplayNotification() = 0; |
175 | 178 |
176 // Shows settings related to Google Drive. | 179 // Shows settings related to Google Drive. |
177 virtual void ShowDriveSettings() = 0; | 180 virtual void ShowDriveSettings() = 0; |
178 | 181 |
179 // Shows settings related to input methods. | 182 // Shows settings related to input methods. |
180 virtual void ShowIMESettings() = 0; | 183 virtual void ShowIMESettings() = 0; |
181 | 184 |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 // Speaks the given text if spoken feedback is enabled. | 326 // Speaks the given text if spoken feedback is enabled. |
324 virtual void MaybeSpeak(const std::string& utterance) const = 0; | 327 virtual void MaybeSpeak(const std::string& utterance) const = 0; |
325 | 328 |
326 // Creates a dummy delegate for testing. | 329 // Creates a dummy delegate for testing. |
327 static SystemTrayDelegate* CreateDummyDelegate(); | 330 static SystemTrayDelegate* CreateDummyDelegate(); |
328 }; | 331 }; |
329 | 332 |
330 } // namespace ash | 333 } // namespace ash |
331 | 334 |
332 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 335 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |