| 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 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 public: | 23 public: |
| 24 virtual void Initialize() OVERRIDE; | 24 virtual void Initialize() OVERRIDE; |
| 25 virtual bool GetTrayVisibilityOnStartup() OVERRIDE; | 25 virtual bool GetTrayVisibilityOnStartup() OVERRIDE; |
| 26 | 26 |
| 27 // Overridden from SystemTrayDelegate: | 27 // Overridden from SystemTrayDelegate: |
| 28 virtual const string16 GetUserDisplayName() const OVERRIDE; | 28 virtual const string16 GetUserDisplayName() const OVERRIDE; |
| 29 virtual const std::string GetUserEmail() const OVERRIDE; | 29 virtual const std::string GetUserEmail() const OVERRIDE; |
| 30 virtual const gfx::ImageSkia& GetUserImage() const OVERRIDE; | 30 virtual const gfx::ImageSkia& GetUserImage() const OVERRIDE; |
| 31 virtual user::LoginStatus GetUserLoginStatus() const OVERRIDE; | 31 virtual user::LoginStatus GetUserLoginStatus() const OVERRIDE; |
| 32 virtual bool IsOobeCompleted() const OVERRIDE; |
| 32 virtual void ChangeProfilePicture() OVERRIDE; | 33 virtual void ChangeProfilePicture() OVERRIDE; |
| 33 virtual const std::string GetEnterpriseDomain() const OVERRIDE; | 34 virtual const std::string GetEnterpriseDomain() const OVERRIDE; |
| 34 virtual const string16 GetEnterpriseMessage() const OVERRIDE; | 35 virtual const string16 GetEnterpriseMessage() const OVERRIDE; |
| 35 virtual bool SystemShouldUpgrade() const OVERRIDE; | 36 virtual bool SystemShouldUpgrade() const OVERRIDE; |
| 36 virtual base::HourClockType GetHourClockType() const OVERRIDE; | 37 virtual base::HourClockType GetHourClockType() const OVERRIDE; |
| 37 virtual PowerSupplyStatus GetPowerSupplyStatus() const OVERRIDE; | 38 virtual PowerSupplyStatus GetPowerSupplyStatus() const OVERRIDE; |
| 38 virtual void RequestStatusUpdate() const OVERRIDE; | 39 virtual void RequestStatusUpdate() const OVERRIDE; |
| 39 virtual void ShowSettings() OVERRIDE; | 40 virtual void ShowSettings() OVERRIDE; |
| 40 virtual void ShowDateSettings() OVERRIDE; | 41 virtual void ShowDateSettings() OVERRIDE; |
| 41 virtual void ShowNetworkSettings() OVERRIDE; | 42 virtual void ShowNetworkSettings() OVERRIDE; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 gfx::ImageSkia null_image_; | 119 gfx::ImageSkia null_image_; |
| 119 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; | 120 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; |
| 120 | 121 |
| 121 DISALLOW_COPY_AND_ASSIGN(TestSystemTrayDelegate); | 122 DISALLOW_COPY_AND_ASSIGN(TestSystemTrayDelegate); |
| 122 }; | 123 }; |
| 123 | 124 |
| 124 } // namespace test | 125 } // namespace test |
| 125 } // namespace ash | 126 } // namespace ash |
| 126 | 127 |
| 127 #endif // ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ | 128 #endif // ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |