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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 bool GetTrayVisibilityOnStartup() override; | 82 bool GetTrayVisibilityOnStartup() override; |
83 ash::LoginStatus GetUserLoginStatus() const override; | 83 ash::LoginStatus GetUserLoginStatus() const override; |
84 std::string GetEnterpriseDomain() const override; | 84 std::string GetEnterpriseDomain() const override; |
85 base::string16 GetEnterpriseMessage() const override; | 85 base::string16 GetEnterpriseMessage() const override; |
86 std::string GetSupervisedUserManager() const override; | 86 std::string GetSupervisedUserManager() const override; |
87 base::string16 GetSupervisedUserManagerName() const override; | 87 base::string16 GetSupervisedUserManagerName() const override; |
88 base::string16 GetSupervisedUserMessage() const override; | 88 base::string16 GetSupervisedUserMessage() const override; |
89 bool IsUserSupervised() const override; | 89 bool IsUserSupervised() const override; |
90 bool IsUserChild() const override; | 90 bool IsUserChild() const override; |
91 void GetSystemUpdateInfo(ash::UpdateInfo* info) const override; | 91 void GetSystemUpdateInfo(ash::UpdateInfo* info) const override; |
92 void ShowSettings() override; | |
93 bool ShouldShowSettings() override; | 92 bool ShouldShowSettings() override; |
94 void ShowSetTimeDialog() override; | 93 void ShowSetTimeDialog() override; |
95 void ShowNetworkSettingsForGuid(const std::string& guid) override; | 94 void ShowNetworkSettingsForGuid(const std::string& guid) override; |
96 void ShowDisplaySettings() override; | |
97 void ShowPowerSettings() override; | |
98 void ShowChromeSlow() override; | |
99 bool ShouldShowDisplayNotification() override; | 95 bool ShouldShowDisplayNotification() override; |
100 void ShowIMESettings() override; | |
101 void ShowHelp() override; | |
102 void ShowAccessibilityHelp() override; | |
103 void ShowAccessibilitySettings() override; | |
104 void ShowPaletteHelp() override; | |
105 void ShowPaletteSettings() override; | |
106 void ShowPublicAccountInfo() override; | |
107 void ShowEnterpriseInfo() override; | 96 void ShowEnterpriseInfo() override; |
108 void ShowUserLogin() override; | 97 void ShowUserLogin() override; |
109 void SignOut() override; | 98 void SignOut() override; |
110 void RequestRestartForUpdate() override; | 99 void RequestRestartForUpdate() override; |
111 void RequestShutdown() override; | 100 void RequestShutdown() override; |
112 void GetAvailableBluetoothDevices(ash::BluetoothDeviceList* list) override; | 101 void GetAvailableBluetoothDevices(ash::BluetoothDeviceList* list) override; |
113 void BluetoothStartDiscovering() override; | 102 void BluetoothStartDiscovering() override; |
114 void BluetoothStopDiscovering() override; | 103 void BluetoothStopDiscovering() override; |
115 void ConnectToBluetoothDevice(const std::string& address) override; | 104 void ConnectToBluetoothDevice(const std::string& address) override; |
116 bool IsBluetoothDiscovering() override; | 105 bool IsBluetoothDiscovering() override; |
117 void GetCurrentIME(ash::IMEInfo* info) override; | 106 void GetCurrentIME(ash::IMEInfo* info) override; |
118 void GetAvailableIMEList(ash::IMEInfoList* list) override; | 107 void GetAvailableIMEList(ash::IMEInfoList* list) override; |
119 void GetCurrentIMEProperties(ash::IMEPropertyInfoList* list) override; | 108 void GetCurrentIMEProperties(ash::IMEPropertyInfoList* list) override; |
120 void SwitchIME(const std::string& ime_id) override; | 109 void SwitchIME(const std::string& ime_id) override; |
121 void ActivateIMEProperty(const std::string& key) override; | 110 void ActivateIMEProperty(const std::string& key) override; |
122 void ManageBluetoothDevices() override; | 111 void ManageBluetoothDevices() override; |
123 void ToggleBluetooth() override; | 112 void ToggleBluetooth() override; |
124 void ShowOtherNetworkDialog(const std::string& type) override; | 113 void ShowOtherNetworkDialog(const std::string& type) override; |
125 bool GetBluetoothAvailable() override; | 114 bool GetBluetoothAvailable() override; |
126 bool GetBluetoothEnabled() override; | 115 bool GetBluetoothEnabled() override; |
127 bool GetBluetoothDiscovering() override; | 116 bool GetBluetoothDiscovering() override; |
128 void ShowProxySettings() override; | |
129 ash::CastConfigDelegate* GetCastConfigDelegate() override; | 117 ash::CastConfigDelegate* GetCastConfigDelegate() override; |
130 ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; | 118 ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; |
131 ash::VolumeControlDelegate* GetVolumeControlDelegate() const override; | 119 ash::VolumeControlDelegate* GetVolumeControlDelegate() const override; |
132 void SetVolumeControlDelegate( | 120 void SetVolumeControlDelegate( |
133 std::unique_ptr<ash::VolumeControlDelegate> delegate) override; | 121 std::unique_ptr<ash::VolumeControlDelegate> delegate) override; |
134 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; | 122 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; |
135 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; | 123 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; |
136 int GetSystemTrayMenuWidth() override; | 124 int GetSystemTrayMenuWidth() override; |
137 void ActiveUserWasChanged() override; | 125 void ActiveUserWasChanged() override; |
138 bool IsSearchKeyMappedToCapsLock() override; | 126 bool IsSearchKeyMappedToCapsLock() override; |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 | 290 |
303 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; | 291 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; |
304 | 292 |
305 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); | 293 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); |
306 }; | 294 }; |
307 | 295 |
308 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); | 296 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); |
309 | 297 |
310 } // namespace chromeos | 298 } // namespace chromeos |
311 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 299 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
OLD | NEW |