| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 // Shows UI to manage bluetooth devices. | 267 // Shows UI to manage bluetooth devices. |
| 268 virtual void ManageBluetoothDevices() = 0; | 268 virtual void ManageBluetoothDevices() = 0; |
| 269 | 269 |
| 270 // Toggles bluetooth. | 270 // Toggles bluetooth. |
| 271 virtual void ToggleBluetooth() = 0; | 271 virtual void ToggleBluetooth() = 0; |
| 272 | 272 |
| 273 // Shows UI to unlock a mobile sim. | 273 // Shows UI to unlock a mobile sim. |
| 274 virtual void ShowMobileSimDialog() = 0; | 274 virtual void ShowMobileSimDialog() = 0; |
| 275 | 275 |
| 276 // Shows UI to setup a mobile network. | 276 // Shows UI to setup a mobile network. |
| 277 virtual void ShowMobileSetup(const std::string& network_id) = 0; | 277 virtual void ShowMobileSetupDialog(const std::string& service_path) = 0; |
| 278 | 278 |
| 279 // Shows UI to connect to an unlisted wifi network. | 279 // Shows UI to connect to an unlisted wifi network. |
| 280 virtual void ShowOtherWifi() = 0; | 280 virtual void ShowOtherWifi() = 0; |
| 281 | 281 |
| 282 // Shows UI to configure vpn. | 282 // Shows UI to configure vpn. |
| 283 virtual void ShowOtherVPN() = 0; | 283 virtual void ShowOtherVPN() = 0; |
| 284 | 284 |
| 285 // Shows UI to search for cellular networks. | 285 // Shows UI to search for cellular networks. |
| 286 virtual void ShowOtherCellular() = 0; | 286 virtual void ShowOtherCellular() = 0; |
| 287 | 287 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 313 // Speaks the given text if spoken feedback is enabled. | 313 // Speaks the given text if spoken feedback is enabled. |
| 314 virtual void MaybeSpeak(const std::string& utterance) const = 0; | 314 virtual void MaybeSpeak(const std::string& utterance) const = 0; |
| 315 | 315 |
| 316 // Creates a dummy delegate for testing. | 316 // Creates a dummy delegate for testing. |
| 317 static SystemTrayDelegate* CreateDummyDelegate(); | 317 static SystemTrayDelegate* CreateDummyDelegate(); |
| 318 }; | 318 }; |
| 319 | 319 |
| 320 } // namespace ash | 320 } // namespace ash |
| 321 | 321 |
| 322 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 322 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |