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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 void ManageBluetoothDevices() override; | 107 void ManageBluetoothDevices() override; |
108 void ToggleBluetooth() override; | 108 void ToggleBluetooth() override; |
109 void ShowOtherNetworkDialog(const std::string& type) override; | 109 void ShowOtherNetworkDialog(const std::string& type) override; |
110 bool GetBluetoothAvailable() override; | 110 bool GetBluetoothAvailable() override; |
111 bool GetBluetoothEnabled() override; | 111 bool GetBluetoothEnabled() override; |
112 bool GetBluetoothDiscovering() override; | 112 bool GetBluetoothDiscovering() override; |
113 ash::CastConfigDelegate* GetCastConfigDelegate() override; | 113 ash::CastConfigDelegate* GetCastConfigDelegate() override; |
114 ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; | 114 ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; |
115 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; | 115 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; |
116 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; | 116 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; |
| 117 int GetSystemTrayMenuWidth() override; |
117 void ActiveUserWasChanged() override; | 118 void ActiveUserWasChanged() override; |
118 bool IsSearchKeyMappedToCapsLock() override; | 119 bool IsSearchKeyMappedToCapsLock() override; |
119 void AddCustodianInfoTrayObserver( | 120 void AddCustodianInfoTrayObserver( |
120 ash::CustodianInfoTrayObserver* observer) override; | 121 ash::CustodianInfoTrayObserver* observer) override; |
121 void RemoveCustodianInfoTrayObserver( | 122 void RemoveCustodianInfoTrayObserver( |
122 ash::CustodianInfoTrayObserver* observer) override; | 123 ash::CustodianInfoTrayObserver* observer) override; |
123 void AddShutdownPolicyObserver( | 124 void AddShutdownPolicyObserver( |
124 ash::ShutdownPolicyObserver* observer) override; | 125 ash::ShutdownPolicyObserver* observer) override; |
125 void RemoveShutdownPolicyObserver( | 126 void RemoveShutdownPolicyObserver( |
126 ash::ShutdownPolicyObserver* observer) override; | 127 ash::ShutdownPolicyObserver* observer) override; |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 | 281 |
281 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; | 282 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; |
282 | 283 |
283 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); | 284 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); |
284 }; | 285 }; |
285 | 286 |
286 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); | 287 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); |
287 | 288 |
288 } // namespace chromeos | 289 } // namespace chromeos |
289 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 290 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
OLD | NEW |