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

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

Issue 2505783002: chromeos: Migrate SignOut and RequestRestartForUpdate to mojo interface (Closed)
Patch Set: Created 4 years, 1 month 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 <string> 10 #include <string>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 std::string GetSupervisedUserManager() const override; 82 std::string GetSupervisedUserManager() const override;
83 base::string16 GetSupervisedUserManagerName() const override; 83 base::string16 GetSupervisedUserManagerName() const override;
84 base::string16 GetSupervisedUserMessage() const override; 84 base::string16 GetSupervisedUserMessage() const override;
85 bool IsUserSupervised() const override; 85 bool IsUserSupervised() const override;
86 bool IsUserChild() const override; 86 bool IsUserChild() const override;
87 void GetSystemUpdateInfo(ash::UpdateInfo* info) const override; 87 void GetSystemUpdateInfo(ash::UpdateInfo* info) const override;
88 bool ShouldShowSettings() const override; 88 bool ShouldShowSettings() const override;
89 bool ShouldShowNotificationTray() const override; 89 bool ShouldShowNotificationTray() const override;
90 void ShowEnterpriseInfo() override; 90 void ShowEnterpriseInfo() override;
91 void ShowUserLogin() override; 91 void ShowUserLogin() override;
92 void SignOut() override;
93 void RequestRestartForUpdate() override;
94 void GetAvailableBluetoothDevices(ash::BluetoothDeviceList* list) override; 92 void GetAvailableBluetoothDevices(ash::BluetoothDeviceList* list) override;
95 void BluetoothStartDiscovering() override; 93 void BluetoothStartDiscovering() override;
96 void BluetoothStopDiscovering() override; 94 void BluetoothStopDiscovering() override;
97 void ConnectToBluetoothDevice(const std::string& address) override; 95 void ConnectToBluetoothDevice(const std::string& address) override;
98 bool IsBluetoothDiscovering() const override; 96 bool IsBluetoothDiscovering() const override;
99 void GetCurrentIME(ash::IMEInfo* info) override; 97 void GetCurrentIME(ash::IMEInfo* info) override;
100 void GetAvailableIMEList(ash::IMEInfoList* list) override; 98 void GetAvailableIMEList(ash::IMEInfoList* list) override;
101 void GetCurrentIMEProperties(ash::IMEPropertyInfoList* list) override; 99 void GetCurrentIMEProperties(ash::IMEPropertyInfoList* list) override;
102 void SwitchIME(const std::string& ime_id) override; 100 void SwitchIME(const std::string& ime_id) override;
103 void ActivateIMEProperty(const std::string& key) override; 101 void ActivateIMEProperty(const std::string& key) override;
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 251
254 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; 252 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_;
255 253
256 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); 254 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS);
257 }; 255 };
258 256
259 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); 257 ash::SystemTrayDelegate* CreateSystemTrayDelegate();
260 258
261 } // namespace chromeos 259 } // namespace chromeos
262 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ 260 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698