OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 void GetCurrentIMEProperties(ash::IMEPropertyInfoList* list) override; | 118 void GetCurrentIMEProperties(ash::IMEPropertyInfoList* list) override; |
119 void SwitchIME(const std::string& ime_id) override; | 119 void SwitchIME(const std::string& ime_id) override; |
120 void ActivateIMEProperty(const std::string& key) override; | 120 void ActivateIMEProperty(const std::string& key) override; |
121 void ManageBluetoothDevices() override; | 121 void ManageBluetoothDevices() override; |
122 void ToggleBluetooth() override; | 122 void ToggleBluetooth() override; |
123 void ShowOtherNetworkDialog(const std::string& type) override; | 123 void ShowOtherNetworkDialog(const std::string& type) override; |
124 bool GetBluetoothAvailable() override; | 124 bool GetBluetoothAvailable() override; |
125 bool GetBluetoothEnabled() override; | 125 bool GetBluetoothEnabled() override; |
126 bool GetBluetoothDiscovering() override; | 126 bool GetBluetoothDiscovering() override; |
127 void ChangeProxySettings() override; | 127 void ChangeProxySettings() override; |
| 128 ash::CastConfigDelegate* GetCastConfigDelegate() const override; |
128 ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; | 129 ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; |
129 ash::VolumeControlDelegate* GetVolumeControlDelegate() const override; | 130 ash::VolumeControlDelegate* GetVolumeControlDelegate() const override; |
130 void SetVolumeControlDelegate( | 131 void SetVolumeControlDelegate( |
131 scoped_ptr<ash::VolumeControlDelegate> delegate) override; | 132 scoped_ptr<ash::VolumeControlDelegate> delegate) override; |
132 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; | 133 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; |
133 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; | 134 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; |
134 int GetSystemTrayMenuWidth() override; | 135 int GetSystemTrayMenuWidth() override; |
135 void ActiveUserWasChanged() override; | 136 void ActiveUserWasChanged() override; |
136 bool IsSearchKeyMappedToCapsLock() override; | 137 bool IsSearchKeyMappedToCapsLock() override; |
137 ash::tray::UserAccountsDelegate* GetUserAccountsDelegate( | 138 ash::tray::UserAccountsDelegate* GetUserAccountsDelegate( |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 bool have_session_start_time_; | 285 bool have_session_start_time_; |
285 base::TimeTicks session_start_time_; | 286 base::TimeTicks session_start_time_; |
286 bool have_session_length_limit_; | 287 bool have_session_length_limit_; |
287 base::TimeDelta session_length_limit_; | 288 base::TimeDelta session_length_limit_; |
288 std::string enterprise_domain_; | 289 std::string enterprise_domain_; |
289 bool should_run_bluetooth_discovery_; | 290 bool should_run_bluetooth_discovery_; |
290 bool session_started_; | 291 bool session_started_; |
291 | 292 |
292 scoped_refptr<device::BluetoothAdapter> bluetooth_adapter_; | 293 scoped_refptr<device::BluetoothAdapter> bluetooth_adapter_; |
293 scoped_ptr<device::BluetoothDiscoverySession> bluetooth_discovery_session_; | 294 scoped_ptr<device::BluetoothDiscoverySession> bluetooth_discovery_session_; |
| 295 scoped_ptr<ash::CastConfigDelegate> cast_config_delegate_; |
294 scoped_ptr<ash::NetworkingConfigDelegate> networking_config_delegate_; | 296 scoped_ptr<ash::NetworkingConfigDelegate> networking_config_delegate_; |
295 scoped_ptr<ash::VolumeControlDelegate> volume_control_delegate_; | 297 scoped_ptr<ash::VolumeControlDelegate> volume_control_delegate_; |
296 scoped_ptr<CrosSettingsObserverSubscription> device_settings_observer_; | 298 scoped_ptr<CrosSettingsObserverSubscription> device_settings_observer_; |
297 scoped_ptr<AccessibilityStatusSubscription> accessibility_subscription_; | 299 scoped_ptr<AccessibilityStatusSubscription> accessibility_subscription_; |
298 base::ScopedPtrHashMap<std::string, | 300 base::ScopedPtrHashMap<std::string, |
299 scoped_ptr<ash::tray::UserAccountsDelegate>> | 301 scoped_ptr<ash::tray::UserAccountsDelegate>> |
300 accounts_delegates_; | 302 accounts_delegates_; |
301 scoped_ptr<ShutdownPolicyHandler> shutdown_policy_handler_; | 303 scoped_ptr<ShutdownPolicyHandler> shutdown_policy_handler_; |
302 scoped_ptr<ash::VPNDelegate> vpn_delegate_; | 304 scoped_ptr<ash::VPNDelegate> vpn_delegate_; |
303 | 305 |
304 ObserverList<ash::CustodianInfoTrayObserver> | 306 ObserverList<ash::CustodianInfoTrayObserver> |
305 custodian_info_changed_observers_; | 307 custodian_info_changed_observers_; |
306 | 308 |
307 ObserverList<ash::ShutdownPolicyObserver> shutdown_policy_observers_; | 309 ObserverList<ash::ShutdownPolicyObserver> shutdown_policy_observers_; |
308 | 310 |
309 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; | 311 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; |
310 | 312 |
311 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); | 313 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); |
312 }; | 314 }; |
313 | 315 |
314 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); | 316 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); |
315 | 317 |
316 } // namespace chromeos | 318 } // namespace chromeos |
317 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 319 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
OLD | NEW |