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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 // Returns information about the ongoing drive operations. | 246 // Returns information about the ongoing drive operations. |
247 virtual void GetDriveOperationStatusList( | 247 virtual void GetDriveOperationStatusList( |
248 DriveOperationStatusList* list) = 0; | 248 DriveOperationStatusList* list) = 0; |
249 | 249 |
250 // Shows UI to configure or activate the network specified by |network_id|. | 250 // Shows UI to configure or activate the network specified by |network_id|. |
251 virtual void ConfigureNetwork(const std::string& network_id) = 0; | 251 virtual void ConfigureNetwork(const std::string& network_id) = 0; |
252 | 252 |
253 // Sends a connect request for the network specified by |network_id|. | 253 // Sends a connect request for the network specified by |network_id|. |
254 virtual void ConnectToNetwork(const std::string& network_id) = 0; | 254 virtual void ConnectToNetwork(const std::string& network_id) = 0; |
255 | 255 |
256 // Shows UI to add a new bluetooth device. | 256 // Shows UI to manage bluetooth devices. |
257 virtual void AddBluetoothDevice() = 0; | 257 virtual void ManageBluetoothDevices() = 0; |
258 | 258 |
259 // Toggles bluetooth. | 259 // Toggles bluetooth. |
260 virtual void ToggleBluetooth() = 0; | 260 virtual void ToggleBluetooth() = 0; |
261 | 261 |
262 // Shows UI to unlock a mobile sim. | 262 // Shows UI to unlock a mobile sim. |
263 virtual void ShowMobileSimDialog() = 0; | 263 virtual void ShowMobileSimDialog() = 0; |
264 | 264 |
265 // Shows UI to connect to an unlisted wifi network. | 265 // Shows UI to connect to an unlisted wifi network. |
266 virtual void ShowOtherWifi() = 0; | 266 virtual void ShowOtherWifi() = 0; |
267 | 267 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 // Speaks the given text if spoken feedback is enabled. | 315 // Speaks the given text if spoken feedback is enabled. |
316 virtual void MaybeSpeak(const std::string& utterance) const = 0; | 316 virtual void MaybeSpeak(const std::string& utterance) const = 0; |
317 | 317 |
318 // Creates a dummy delegate for testing. | 318 // Creates a dummy delegate for testing. |
319 static SystemTrayDelegate* CreateDummyDelegate(); | 319 static SystemTrayDelegate* CreateDummyDelegate(); |
320 }; | 320 }; |
321 | 321 |
322 } // namespace ash | 322 } // namespace ash |
323 | 323 |
324 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 324 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |