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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; | 76 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; |
77 int GetSystemTrayMenuWidth() override; | 77 int GetSystemTrayMenuWidth() override; |
78 void ActiveUserWasChanged() override; | 78 void ActiveUserWasChanged() override; |
79 bool IsSearchKeyMappedToCapsLock() override; | 79 bool IsSearchKeyMappedToCapsLock() override; |
80 tray::UserAccountsDelegate* GetUserAccountsDelegate( | 80 tray::UserAccountsDelegate* GetUserAccountsDelegate( |
81 const std::string& user_id) override; | 81 const std::string& user_id) override; |
82 void AddCustodianInfoTrayObserver( | 82 void AddCustodianInfoTrayObserver( |
83 CustodianInfoTrayObserver* observer) override; | 83 CustodianInfoTrayObserver* observer) override; |
84 void RemoveCustodianInfoTrayObserver( | 84 void RemoveCustodianInfoTrayObserver( |
85 CustodianInfoTrayObserver* observer) override; | 85 CustodianInfoTrayObserver* observer) override; |
| 86 void AddShutdownPolicyObserver(ShutdownPolicyObserver* observer) override; |
| 87 void RemoveShutdownPolicyObserver(ShutdownPolicyObserver* observer) override; |
| 88 void ShouldRebootOnShutdown( |
| 89 const RebootOnShutdownCallback& callback) override; |
86 | 90 |
87 private: | 91 private: |
88 bool bluetooth_enabled_; | 92 bool bluetooth_enabled_; |
89 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; | 93 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; |
90 | 94 |
91 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate); | 95 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate); |
92 }; | 96 }; |
93 | 97 |
94 } // namespace ash | 98 } // namespace ash |
95 | 99 |
96 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ | 100 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |