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

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

Issue 2373863002: mustash: Connect ash system tray "show settings" items to chrome over mojo (Closed)
Patch Set: review comments Created 4 years, 2 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 <string> 10 #include <string>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 ~SystemTrayDelegateChromeOS() override; 78 ~SystemTrayDelegateChromeOS() override;
79 79
80 void InitializeOnAdapterReady( 80 void InitializeOnAdapterReady(
81 scoped_refptr<device::BluetoothAdapter> adapter); 81 scoped_refptr<device::BluetoothAdapter> adapter);
82 82
83 // Overridden from ash::SystemTrayDelegate: 83 // Overridden from ash::SystemTrayDelegate:
84 void Initialize() override; 84 void Initialize() override;
85 bool GetTrayVisibilityOnStartup() override; 85 bool GetTrayVisibilityOnStartup() override;
86 ash::LoginStatus GetUserLoginStatus() const override; 86 ash::LoginStatus GetUserLoginStatus() const override;
87 void ChangeProfilePicture() override;
88 std::string GetEnterpriseDomain() const override; 87 std::string GetEnterpriseDomain() const override;
89 base::string16 GetEnterpriseMessage() const override; 88 base::string16 GetEnterpriseMessage() const override;
90 std::string GetSupervisedUserManager() const override; 89 std::string GetSupervisedUserManager() const override;
91 base::string16 GetSupervisedUserManagerName() const override; 90 base::string16 GetSupervisedUserManagerName() const override;
92 base::string16 GetSupervisedUserMessage() const override; 91 base::string16 GetSupervisedUserMessage() const override;
93 bool IsUserSupervised() const override; 92 bool IsUserSupervised() const override;
94 bool IsUserChild() const override; 93 bool IsUserChild() const override;
95 void GetSystemUpdateInfo(ash::UpdateInfo* info) const override; 94 void GetSystemUpdateInfo(ash::UpdateInfo* info) const override;
96 base::HourClockType GetHourClockType() const override; 95 base::HourClockType GetHourClockType() const override;
97 void ShowSettings() override; 96 void ShowSettings() override;
98 bool ShouldShowSettings() override; 97 bool ShouldShowSettings() override;
99 void ShowDateSettings() override; 98 void ShowDateSettings() override;
100 void ShowSetTimeDialog() override; 99 void ShowSetTimeDialog() override;
101 void ShowNetworkSettingsForGuid(const std::string& guid) override; 100 void ShowNetworkSettingsForGuid(const std::string& guid) override;
102 void ShowDisplaySettings() override; 101 void ShowDisplaySettings() override;
103 void ShowPowerSettings() override; 102 void ShowPowerSettings() override;
104 void ShowChromeSlow() override; 103 void ShowChromeSlow() override;
105 bool ShouldShowDisplayNotification() override; 104 bool ShouldShowDisplayNotification() override;
106 void ShowIMESettings() override; 105 void ShowIMESettings() override;
107 void ShowHelp() override; 106 void ShowHelp() override;
108 void ShowAccessibilityHelp() override; 107 void ShowAccessibilityHelp() override;
109 void ShowAccessibilitySettings() override; 108 void ShowAccessibilitySettings() override;
110 void ShowPaletteHelp() override; 109 void ShowPaletteHelp() override;
111 void ShowPaletteSettings() override; 110 void ShowPaletteSettings() override;
112 void ShowPublicAccountInfo() override; 111 void ShowPublicAccountInfo() override;
113 void ShowSupervisedUserInfo() override;
114 void ShowEnterpriseInfo() override; 112 void ShowEnterpriseInfo() override;
115 void ShowUserLogin() override; 113 void ShowUserLogin() override;
116 void SignOut() override; 114 void SignOut() override;
117 void RequestRestartForUpdate() override; 115 void RequestRestartForUpdate() override;
118 void RequestShutdown() override; 116 void RequestShutdown() override;
119 void GetAvailableBluetoothDevices(ash::BluetoothDeviceList* list) override; 117 void GetAvailableBluetoothDevices(ash::BluetoothDeviceList* list) override;
120 void BluetoothStartDiscovering() override; 118 void BluetoothStartDiscovering() override;
121 void BluetoothStopDiscovering() override; 119 void BluetoothStopDiscovering() override;
122 void ConnectToBluetoothDevice(const std::string& address) override; 120 void ConnectToBluetoothDevice(const std::string& address) override;
123 bool IsBluetoothDiscovering() override; 121 bool IsBluetoothDiscovering() override;
124 void GetCurrentIME(ash::IMEInfo* info) override; 122 void GetCurrentIME(ash::IMEInfo* info) override;
125 void GetAvailableIMEList(ash::IMEInfoList* list) override; 123 void GetAvailableIMEList(ash::IMEInfoList* list) override;
126 void GetCurrentIMEProperties(ash::IMEPropertyInfoList* list) override; 124 void GetCurrentIMEProperties(ash::IMEPropertyInfoList* list) override;
127 void SwitchIME(const std::string& ime_id) override; 125 void SwitchIME(const std::string& ime_id) override;
128 void ActivateIMEProperty(const std::string& key) override; 126 void ActivateIMEProperty(const std::string& key) override;
129 void ManageBluetoothDevices() override; 127 void ManageBluetoothDevices() override;
130 void ToggleBluetooth() override; 128 void ToggleBluetooth() override;
131 void ShowOtherNetworkDialog(const std::string& type) override; 129 void ShowOtherNetworkDialog(const std::string& type) override;
132 bool GetBluetoothAvailable() override; 130 bool GetBluetoothAvailable() override;
133 bool GetBluetoothEnabled() override; 131 bool GetBluetoothEnabled() override;
134 bool GetBluetoothDiscovering() override; 132 bool GetBluetoothDiscovering() override;
135 void ChangeProxySettings() override; 133 void ShowProxySettings() override;
136 ash::CastConfigDelegate* GetCastConfigDelegate() override; 134 ash::CastConfigDelegate* GetCastConfigDelegate() override;
137 ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; 135 ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override;
138 ash::VolumeControlDelegate* GetVolumeControlDelegate() const override; 136 ash::VolumeControlDelegate* GetVolumeControlDelegate() const override;
139 void SetVolumeControlDelegate( 137 void SetVolumeControlDelegate(
140 std::unique_ptr<ash::VolumeControlDelegate> delegate) override; 138 std::unique_ptr<ash::VolumeControlDelegate> delegate) override;
141 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; 139 bool GetSessionStartTime(base::TimeTicks* session_start_time) override;
142 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; 140 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override;
143 int GetSystemTrayMenuWidth() override; 141 int GetSystemTrayMenuWidth() override;
144 void ActiveUserWasChanged() override; 142 void ActiveUserWasChanged() override;
145 bool IsSearchKeyMappedToCapsLock() override; 143 bool IsSearchKeyMappedToCapsLock() override;
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 316
319 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; 317 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_;
320 318
321 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); 319 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS);
322 }; 320 };
323 321
324 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); 322 ash::SystemTrayDelegate* CreateSystemTrayDelegate();
325 323
326 } // namespace chromeos 324 } // namespace chromeos
327 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ 325 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/system_tray_common.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698