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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 scoped_ptr<VolumeControlDelegate> delegate) override; | 81 scoped_ptr<VolumeControlDelegate> delegate) override; |
82 virtual bool GetSessionStartTime( | 82 virtual bool GetSessionStartTime( |
83 base::TimeTicks* session_start_time) override; | 83 base::TimeTicks* session_start_time) override; |
84 virtual bool GetSessionLengthLimit( | 84 virtual bool GetSessionLengthLimit( |
85 base::TimeDelta* session_length_limit) override; | 85 base::TimeDelta* session_length_limit) override; |
86 virtual int GetSystemTrayMenuWidth() override; | 86 virtual int GetSystemTrayMenuWidth() override; |
87 virtual void ActiveUserWasChanged() override; | 87 virtual void ActiveUserWasChanged() override; |
88 virtual bool IsSearchKeyMappedToCapsLock() override; | 88 virtual bool IsSearchKeyMappedToCapsLock() override; |
89 virtual tray::UserAccountsDelegate* GetUserAccountsDelegate( | 89 virtual tray::UserAccountsDelegate* GetUserAccountsDelegate( |
90 const std::string& user_id) override; | 90 const std::string& user_id) override; |
| 91 virtual void AddCustodianInfoTrayObserver( |
| 92 CustodianInfoTrayObserver* observer) override; |
| 93 virtual void RemoveCustodianInfoTrayObserver( |
| 94 CustodianInfoTrayObserver* observer) override; |
91 | 95 |
92 private: | 96 private: |
93 bool bluetooth_enabled_; | 97 bool bluetooth_enabled_; |
94 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; | 98 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; |
95 | 99 |
96 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate); | 100 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate); |
97 }; | 101 }; |
98 | 102 |
99 } // namespace ash | 103 } // namespace ash |
100 | 104 |
101 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ | 105 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |