| 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 | 244 |
| 245 // Returns a list of properties for the currently selected IME. | 245 // Returns a list of properties for the currently selected IME. |
| 246 virtual void GetCurrentIMEProperties(IMEPropertyInfoList* list) = 0; | 246 virtual void GetCurrentIMEProperties(IMEPropertyInfoList* list) = 0; |
| 247 | 247 |
| 248 // Switches to the selected input method. | 248 // Switches to the selected input method. |
| 249 virtual void SwitchIME(const std::string& ime_id) = 0; | 249 virtual void SwitchIME(const std::string& ime_id) = 0; |
| 250 | 250 |
| 251 // Activates an IME property. | 251 // Activates an IME property. |
| 252 virtual void ActivateIMEProperty(const std::string& key) = 0; | 252 virtual void ActivateIMEProperty(const std::string& key) = 0; |
| 253 | 253 |
| 254 // Shows UI to configure or activate the network specified by |network_id|, | |
| 255 // which may include showing Payment or Portal UI when appropriate. | |
| 256 virtual void ShowNetworkConfigure(const std::string& network_id) = 0; | |
| 257 | |
| 258 // Shows UI to enroll the network specified by |network_id| if appropriate | |
| 259 // and returns true, otherwise returns false. | |
| 260 virtual bool EnrollNetwork(const std::string& network_id) = 0; | |
| 261 | |
| 262 // Shows UI to manage bluetooth devices. | 254 // Shows UI to manage bluetooth devices. |
| 263 virtual void ManageBluetoothDevices() = 0; | 255 virtual void ManageBluetoothDevices() = 0; |
| 264 | 256 |
| 265 // Toggles bluetooth. | 257 // Toggles bluetooth. |
| 266 virtual void ToggleBluetooth() = 0; | 258 virtual void ToggleBluetooth() = 0; |
| 267 | 259 |
| 268 // Shows UI to unlock a mobile sim. | |
| 269 virtual void ShowMobileSimDialog() = 0; | |
| 270 | |
| 271 // Shows UI to setup a mobile network. | |
| 272 virtual void ShowMobileSetupDialog(const std::string& service_path) = 0; | |
| 273 | |
| 274 // Shows UI to connect to an unlisted network of type |type|. On Chrome OS | 260 // Shows UI to connect to an unlisted network of type |type|. On Chrome OS |
| 275 // |type| corresponds to a Shill network type. | 261 // |type| corresponds to a Shill network type. |
| 276 virtual void ShowOtherNetworkDialog(const std::string& type) = 0; | 262 virtual void ShowOtherNetworkDialog(const std::string& type) = 0; |
| 277 | 263 |
| 278 // Returns whether bluetooth capability is available. | 264 // Returns whether bluetooth capability is available. |
| 279 virtual bool GetBluetoothAvailable() = 0; | 265 virtual bool GetBluetoothAvailable() = 0; |
| 280 | 266 |
| 281 // Returns whether bluetooth is enabled. | 267 // Returns whether bluetooth is enabled. |
| 282 virtual bool GetBluetoothEnabled() = 0; | 268 virtual bool GetBluetoothEnabled() = 0; |
| 283 | 269 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 virtual void AddCustodianInfoTrayObserver( | 305 virtual void AddCustodianInfoTrayObserver( |
| 320 CustodianInfoTrayObserver* observer) = 0; | 306 CustodianInfoTrayObserver* observer) = 0; |
| 321 | 307 |
| 322 virtual void RemoveCustodianInfoTrayObserver( | 308 virtual void RemoveCustodianInfoTrayObserver( |
| 323 CustodianInfoTrayObserver* observer) = 0; | 309 CustodianInfoTrayObserver* observer) = 0; |
| 324 }; | 310 }; |
| 325 | 311 |
| 326 } // namespace ash | 312 } // namespace ash |
| 327 | 313 |
| 328 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 314 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |