OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ | 5 #ifndef ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ |
6 #define ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ | 6 #define ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ |
7 | 7 |
8 #include "ash/system/tray/system_tray_delegate.h" | 8 #include "ash/system/tray/system_tray_delegate.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 virtual void Initialize() OVERRIDE; | 24 virtual void Initialize() OVERRIDE; |
25 virtual void Shutdown() OVERRIDE; | 25 virtual void Shutdown() OVERRIDE; |
26 virtual bool GetTrayVisibilityOnStartup() OVERRIDE; | 26 virtual bool GetTrayVisibilityOnStartup() OVERRIDE; |
27 | 27 |
28 // Overridden from SystemTrayDelegate: | 28 // Overridden from SystemTrayDelegate: |
29 virtual const base::string16 GetUserDisplayName() const OVERRIDE; | 29 virtual const base::string16 GetUserDisplayName() const OVERRIDE; |
30 virtual const std::string GetUserEmail() const OVERRIDE; | 30 virtual const std::string GetUserEmail() const OVERRIDE; |
31 virtual const gfx::ImageSkia& GetUserImage() const OVERRIDE; | 31 virtual const gfx::ImageSkia& GetUserImage() const OVERRIDE; |
32 virtual user::LoginStatus GetUserLoginStatus() const OVERRIDE; | 32 virtual user::LoginStatus GetUserLoginStatus() const OVERRIDE; |
33 virtual bool IsOobeCompleted() const OVERRIDE; | 33 virtual bool IsOobeCompleted() const OVERRIDE; |
| 34 virtual void GetLoggedInUsers(UserEmailList* users) OVERRIDE; |
| 35 virtual void SwitchActiveUser(const std::string& email) OVERRIDE; |
34 virtual void ChangeProfilePicture() OVERRIDE; | 36 virtual void ChangeProfilePicture() OVERRIDE; |
35 virtual const std::string GetEnterpriseDomain() const OVERRIDE; | 37 virtual const std::string GetEnterpriseDomain() const OVERRIDE; |
36 virtual const base::string16 GetEnterpriseMessage() const OVERRIDE; | 38 virtual const base::string16 GetEnterpriseMessage() const OVERRIDE; |
37 virtual bool SystemShouldUpgrade() const OVERRIDE; | 39 virtual bool SystemShouldUpgrade() const OVERRIDE; |
38 virtual base::HourClockType GetHourClockType() const OVERRIDE; | 40 virtual base::HourClockType GetHourClockType() const OVERRIDE; |
39 virtual PowerSupplyStatus GetPowerSupplyStatus() const OVERRIDE; | 41 virtual PowerSupplyStatus GetPowerSupplyStatus() const OVERRIDE; |
40 virtual void RequestStatusUpdate() const OVERRIDE; | 42 virtual void RequestStatusUpdate() const OVERRIDE; |
41 virtual void ShowSettings() OVERRIDE; | 43 virtual void ShowSettings() OVERRIDE; |
42 virtual void ShowDateSettings() OVERRIDE; | 44 virtual void ShowDateSettings() OVERRIDE; |
43 virtual void ShowNetworkSettings() OVERRIDE; | 45 virtual void ShowNetworkSettings() OVERRIDE; |
44 virtual void ShowBluetoothSettings() OVERRIDE; | 46 virtual void ShowBluetoothSettings() OVERRIDE; |
45 virtual void ShowDisplaySettings() OVERRIDE; | 47 virtual void ShowDisplaySettings() OVERRIDE; |
46 virtual void ShowDriveSettings() OVERRIDE; | 48 virtual void ShowDriveSettings() OVERRIDE; |
47 virtual void ShowIMESettings() OVERRIDE; | 49 virtual void ShowIMESettings() OVERRIDE; |
48 virtual void ShowHelp() OVERRIDE; | 50 virtual void ShowHelp() OVERRIDE; |
49 virtual void ShowAccessibilityHelp() OVERRIDE; | 51 virtual void ShowAccessibilityHelp() OVERRIDE; |
50 virtual void ShowPublicAccountInfo() OVERRIDE; | 52 virtual void ShowPublicAccountInfo() OVERRIDE; |
51 virtual void ShowEnterpriseInfo() OVERRIDE; | 53 virtual void ShowEnterpriseInfo() OVERRIDE; |
| 54 virtual void ShowUserLogin() OVERRIDE; |
52 virtual void ShutDown() OVERRIDE; | 55 virtual void ShutDown() OVERRIDE; |
53 virtual void SignOut() OVERRIDE; | 56 virtual void SignOut() OVERRIDE; |
54 virtual void RequestLockScreen() OVERRIDE; | 57 virtual void RequestLockScreen() OVERRIDE; |
55 virtual void RequestRestart() OVERRIDE; | 58 virtual void RequestRestart() OVERRIDE; |
56 virtual void GetAvailableBluetoothDevices(BluetoothDeviceList* list) OVERRIDE; | 59 virtual void GetAvailableBluetoothDevices(BluetoothDeviceList* list) OVERRIDE; |
57 virtual void BluetoothStartDiscovering() OVERRIDE; | 60 virtual void BluetoothStartDiscovering() OVERRIDE; |
58 virtual void BluetoothStopDiscovering() OVERRIDE; | 61 virtual void BluetoothStopDiscovering() OVERRIDE; |
59 virtual void ToggleBluetoothConnection(const std::string& address) OVERRIDE; | 62 virtual void ToggleBluetoothConnection(const std::string& address) OVERRIDE; |
60 virtual void GetCurrentIME(IMEInfo* info) OVERRIDE; | 63 virtual void GetCurrentIME(IMEInfo* info) OVERRIDE; |
61 virtual void GetAvailableIMEList(IMEInfoList* list) OVERRIDE; | 64 virtual void GetAvailableIMEList(IMEInfoList* list) OVERRIDE; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 gfx::ImageSkia null_image_; | 123 gfx::ImageSkia null_image_; |
121 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; | 124 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; |
122 | 125 |
123 DISALLOW_COPY_AND_ASSIGN(TestSystemTrayDelegate); | 126 DISALLOW_COPY_AND_ASSIGN(TestSystemTrayDelegate); |
124 }; | 127 }; |
125 | 128 |
126 } // namespace test | 129 } // namespace test |
127 } // namespace ash | 130 } // namespace ash |
128 | 131 |
129 #endif // ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ | 132 #endif // ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |