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 ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ | 5 #ifndef ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ |
6 #define ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ | 6 #define ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/system/tray/system_tray_delegate.h" | 9 #include "ash/system/tray/system_tray_delegate.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 void ShowChromeSlow() override; | 41 void ShowChromeSlow() override; |
42 bool ShouldShowDisplayNotification() override; | 42 bool ShouldShowDisplayNotification() override; |
43 void ShowIMESettings() override; | 43 void ShowIMESettings() override; |
44 void ShowHelp() override; | 44 void ShowHelp() override; |
45 void ShowAccessibilityHelp() override; | 45 void ShowAccessibilityHelp() override; |
46 void ShowAccessibilitySettings() override; | 46 void ShowAccessibilitySettings() override; |
47 void ShowPublicAccountInfo() override; | 47 void ShowPublicAccountInfo() override; |
48 void ShowEnterpriseInfo() override; | 48 void ShowEnterpriseInfo() override; |
49 void ShowSupervisedUserInfo() override; | 49 void ShowSupervisedUserInfo() override; |
50 void ShowUserLogin() override; | 50 void ShowUserLogin() override; |
| 51 void Restart() override; |
51 void ShutDown() override; | 52 void ShutDown() override; |
52 void SignOut() override; | 53 void SignOut() override; |
53 void RequestLockScreen() override; | 54 void RequestLockScreen() override; |
54 void RequestRestartForUpdate() override; | 55 void RequestRestartForUpdate() override; |
55 void GetAvailableBluetoothDevices(BluetoothDeviceList* list) override; | 56 void GetAvailableBluetoothDevices(BluetoothDeviceList* list) override; |
56 void BluetoothStartDiscovering() override; | 57 void BluetoothStartDiscovering() override; |
57 void BluetoothStopDiscovering() override; | 58 void BluetoothStopDiscovering() override; |
58 void ConnectToBluetoothDevice(const std::string& address) override; | 59 void ConnectToBluetoothDevice(const std::string& address) override; |
59 void GetCurrentIME(IMEInfo* info) override; | 60 void GetCurrentIME(IMEInfo* info) override; |
60 void GetAvailableIMEList(IMEInfoList* list) override; | 61 void GetAvailableIMEList(IMEInfoList* list) override; |
(...skipping 15 matching lines...) Expand all Loading... |
76 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; | 77 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; |
77 int GetSystemTrayMenuWidth() override; | 78 int GetSystemTrayMenuWidth() override; |
78 void ActiveUserWasChanged() override; | 79 void ActiveUserWasChanged() override; |
79 bool IsSearchKeyMappedToCapsLock() override; | 80 bool IsSearchKeyMappedToCapsLock() override; |
80 tray::UserAccountsDelegate* GetUserAccountsDelegate( | 81 tray::UserAccountsDelegate* GetUserAccountsDelegate( |
81 const std::string& user_id) override; | 82 const std::string& user_id) override; |
82 void AddCustodianInfoTrayObserver( | 83 void AddCustodianInfoTrayObserver( |
83 CustodianInfoTrayObserver* observer) override; | 84 CustodianInfoTrayObserver* observer) override; |
84 void RemoveCustodianInfoTrayObserver( | 85 void RemoveCustodianInfoTrayObserver( |
85 CustodianInfoTrayObserver* observer) override; | 86 CustodianInfoTrayObserver* observer) override; |
| 87 void AddShutdownPolicyObserver(ShutdownPolicyObserver* observer) override; |
| 88 void ShouldRebootOnShutdown( |
| 89 const RebootOnShutdownCallback& callback) override; |
| 90 void RemoveShutdownPolicyObserver(ShutdownPolicyObserver* observer) override; |
86 | 91 |
87 private: | 92 private: |
88 bool bluetooth_enabled_; | 93 bool bluetooth_enabled_; |
89 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; | 94 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; |
90 | 95 |
91 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate); | 96 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate); |
92 }; | 97 }; |
93 | 98 |
94 } // namespace ash | 99 } // namespace ash |
95 | 100 |
96 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ | 101 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |