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 virtual bool GetBluetoothEnabled() OVERRIDE; | 81 virtual bool GetBluetoothEnabled() OVERRIDE; |
82 virtual void ChangeProxySettings() OVERRIDE; | 82 virtual void ChangeProxySettings() OVERRIDE; |
83 virtual VolumeControlDelegate* GetVolumeControlDelegate() const OVERRIDE; | 83 virtual VolumeControlDelegate* GetVolumeControlDelegate() const OVERRIDE; |
84 virtual void SetVolumeControlDelegate( | 84 virtual void SetVolumeControlDelegate( |
85 scoped_ptr<VolumeControlDelegate> delegate) OVERRIDE; | 85 scoped_ptr<VolumeControlDelegate> delegate) OVERRIDE; |
86 virtual bool GetSessionStartTime( | 86 virtual bool GetSessionStartTime( |
87 base::TimeTicks* session_start_time) OVERRIDE; | 87 base::TimeTicks* session_start_time) OVERRIDE; |
88 virtual bool GetSessionLengthLimit( | 88 virtual bool GetSessionLengthLimit( |
89 base::TimeDelta* session_length_limit) OVERRIDE; | 89 base::TimeDelta* session_length_limit) OVERRIDE; |
90 virtual int GetSystemTrayMenuWidth() OVERRIDE; | 90 virtual int GetSystemTrayMenuWidth() OVERRIDE; |
| 91 virtual void ActiveUserWasChanged() OVERRIDE; |
91 | 92 |
92 private: | 93 private: |
93 bool bluetooth_enabled_; | 94 bool bluetooth_enabled_; |
94 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; | 95 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; |
95 | 96 |
96 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate); | 97 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate); |
97 }; | 98 }; |
98 | 99 |
99 } // namespace ash | 100 } // namespace ash |
100 | 101 |
101 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ | 102 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |