| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 // Shows UI to connect to an unlisted network of type |type|. On Chrome OS | 293 // Shows UI to connect to an unlisted network of type |type|. On Chrome OS |
| 294 // |type| corresponds to a Shill network type. | 294 // |type| corresponds to a Shill network type. |
| 295 virtual void ShowOtherNetworkDialog(const std::string& type) = 0; | 295 virtual void ShowOtherNetworkDialog(const std::string& type) = 0; |
| 296 | 296 |
| 297 // Returns whether bluetooth capability is available. | 297 // Returns whether bluetooth capability is available. |
| 298 virtual bool GetBluetoothAvailable() = 0; | 298 virtual bool GetBluetoothAvailable() = 0; |
| 299 | 299 |
| 300 // Returns whether bluetooth is enabled. | 300 // Returns whether bluetooth is enabled. |
| 301 virtual bool GetBluetoothEnabled() = 0; | 301 virtual bool GetBluetoothEnabled() = 0; |
| 302 | 302 |
| 303 // Returns whether the delegate has initiated a bluetooth discovery session. |
| 304 virtual bool GetBluetoothDiscovering() = 0; |
| 305 |
| 303 // Shows UI for changing proxy settings. | 306 // Shows UI for changing proxy settings. |
| 304 virtual void ChangeProxySettings() = 0; | 307 virtual void ChangeProxySettings() = 0; |
| 305 | 308 |
| 306 // Returns VolumeControlDelegate. | 309 // Returns VolumeControlDelegate. |
| 307 virtual VolumeControlDelegate* GetVolumeControlDelegate() const = 0; | 310 virtual VolumeControlDelegate* GetVolumeControlDelegate() const = 0; |
| 308 | 311 |
| 309 // Sets VolumeControlDelegate. | 312 // Sets VolumeControlDelegate. |
| 310 virtual void SetVolumeControlDelegate( | 313 virtual void SetVolumeControlDelegate( |
| 311 scoped_ptr<VolumeControlDelegate> delegate) = 0; | 314 scoped_ptr<VolumeControlDelegate> delegate) = 0; |
| 312 | 315 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 327 // Returns true when |network| is behind captive portal. | 330 // Returns true when |network| is behind captive portal. |
| 328 virtual bool IsNetworkBehindCaptivePortal( | 331 virtual bool IsNetworkBehindCaptivePortal( |
| 329 const std::string& service_path) const = 0; | 332 const std::string& service_path) const = 0; |
| 330 | 333 |
| 331 // Returns true when the Search key is configured to be treated as Caps Lock. | 334 // Returns true when the Search key is configured to be treated as Caps Lock. |
| 332 virtual bool IsSearchKeyMappedToCapsLock() = 0; | 335 virtual bool IsSearchKeyMappedToCapsLock() = 0; |
| 333 }; | 336 }; |
| 334 } // namespace ash | 337 } // namespace ash |
| 335 | 338 |
| 336 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 339 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |