| 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_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 5 #ifndef ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| 6 #define ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 6 #define ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 | 145 |
| 146 // Returns a non-empty string if IMEs are managed by policy. | 146 // Returns a non-empty string if IMEs are managed by policy. |
| 147 virtual base::string16 GetIMEManagedMessage(); | 147 virtual base::string16 GetIMEManagedMessage(); |
| 148 | 148 |
| 149 // Switches to the selected input method. | 149 // Switches to the selected input method. |
| 150 virtual void SwitchIME(const std::string& ime_id); | 150 virtual void SwitchIME(const std::string& ime_id); |
| 151 | 151 |
| 152 // Activates an IME property. | 152 // Activates an IME property. |
| 153 virtual void ActivateIMEProperty(const std::string& key); | 153 virtual void ActivateIMEProperty(const std::string& key); |
| 154 | 154 |
| 155 // Shows UI to manage bluetooth devices. | |
| 156 virtual void ManageBluetoothDevices(); | |
| 157 | |
| 158 // Toggles bluetooth. | 155 // Toggles bluetooth. |
| 159 virtual void ToggleBluetooth(); | 156 virtual void ToggleBluetooth(); |
| 160 | 157 |
| 161 // Returns whether bluetooth capability is available. | 158 // Returns whether bluetooth capability is available. |
| 162 virtual bool GetBluetoothAvailable(); | 159 virtual bool GetBluetoothAvailable(); |
| 163 | 160 |
| 164 // Returns whether bluetooth is enabled. | 161 // Returns whether bluetooth is enabled. |
| 165 virtual bool GetBluetoothEnabled(); | 162 virtual bool GetBluetoothEnabled(); |
| 166 | 163 |
| 167 // Returns whether the delegate has initiated a bluetooth discovery session. | 164 // Returns whether the delegate has initiated a bluetooth discovery session. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 // Creates a system tray item for display rotation lock. | 196 // Creates a system tray item for display rotation lock. |
| 200 // TODO(jamescook): Remove this when mus has support for display management | 197 // TODO(jamescook): Remove this when mus has support for display management |
| 201 // and we have a DisplayManager equivalent. See http://crbug.com/548429 | 198 // and we have a DisplayManager equivalent. See http://crbug.com/548429 |
| 202 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( | 199 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( |
| 203 SystemTray* tray); | 200 SystemTray* tray); |
| 204 }; | 201 }; |
| 205 | 202 |
| 206 } // namespace ash | 203 } // namespace ash |
| 207 | 204 |
| 208 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 205 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |