Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.h

Issue 2761993002: cros: Eliminate bluetooth methods from SystemTrayDelegate (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <memory> 10 #include <memory>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 base::string16 GetEnterpriseMessage() const override; 69 base::string16 GetEnterpriseMessage() const override;
70 std::string GetSupervisedUserManager() const override; 70 std::string GetSupervisedUserManager() const override;
71 base::string16 GetSupervisedUserManagerName() const override; 71 base::string16 GetSupervisedUserManagerName() const override;
72 base::string16 GetSupervisedUserMessage() const override; 72 base::string16 GetSupervisedUserMessage() const override;
73 bool IsUserSupervised() const override; 73 bool IsUserSupervised() const override;
74 bool IsUserChild() const override; 74 bool IsUserChild() const override;
75 bool ShouldShowSettings() const override; 75 bool ShouldShowSettings() const override;
76 bool ShouldShowNotificationTray() const override; 76 bool ShouldShowNotificationTray() const override;
77 void ShowEnterpriseInfo() override; 77 void ShowEnterpriseInfo() override;
78 void ShowUserLogin() override; 78 void ShowUserLogin() override;
79 void GetAvailableBluetoothDevices(ash::BluetoothDeviceList* list) override;
80 void BluetoothStartDiscovering() override;
81 void BluetoothStopDiscovering() override;
82 void ConnectToBluetoothDevice(const std::string& address) override;
83 bool IsBluetoothDiscovering() const override;
84 void GetCurrentIME(ash::IMEInfo* info) override; 79 void GetCurrentIME(ash::IMEInfo* info) override;
85 void GetAvailableIMEList(ash::IMEInfoList* list) override; 80 void GetAvailableIMEList(ash::IMEInfoList* list) override;
86 void GetCurrentIMEProperties(ash::IMEPropertyInfoList* list) override; 81 void GetCurrentIMEProperties(ash::IMEPropertyInfoList* list) override;
87 base::string16 GetIMEManagedMessage() override; 82 base::string16 GetIMEManagedMessage() override;
88 void SwitchIME(const std::string& ime_id) override; 83 void SwitchIME(const std::string& ime_id) override;
89 void ActivateIMEProperty(const std::string& key) override; 84 void ActivateIMEProperty(const std::string& key) override;
90 void ToggleBluetooth() override;
91 bool GetBluetoothAvailable() override;
92 bool GetBluetoothEnabled() override;
93 bool GetBluetoothDiscovering() override;
94 ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; 85 ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override;
95 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; 86 bool GetSessionStartTime(base::TimeTicks* session_start_time) override;
96 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; 87 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override;
97 int GetSystemTrayMenuWidth() override; 88 int GetSystemTrayMenuWidth() override;
98 void ActiveUserWasChanged() override; 89 void ActiveUserWasChanged() override;
99 bool IsSearchKeyMappedToCapsLock() override; 90 bool IsSearchKeyMappedToCapsLock() override;
100 void AddCustodianInfoTrayObserver( 91 void AddCustodianInfoTrayObserver(
101 ash::CustodianInfoTrayObserver* observer) override; 92 ash::CustodianInfoTrayObserver* observer) override;
102 void RemoveCustodianInfoTrayObserver( 93 void RemoveCustodianInfoTrayObserver(
103 ash::CustodianInfoTrayObserver* observer) override; 94 ash::CustodianInfoTrayObserver* observer) override;
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 custodian_info_changed_observers_; 202 custodian_info_changed_observers_;
212 203
213 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); 204 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS);
214 }; 205 };
215 206
216 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); 207 ash::SystemTrayDelegate* CreateSystemTrayDelegate();
217 208
218 } // namespace chromeos 209 } // namespace chromeos
219 210
220 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ 211 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698