OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_STATUS_AREA_WIDGET_TEST_HELPER_H_ | 5 #ifndef ASH_SYSTEM_STATUS_AREA_WIDGET_TEST_HELPER_H_ |
6 #define ASH_SYSTEM_STATUS_AREA_WIDGET_TEST_HELPER_H_ | 6 #define ASH_SYSTEM_STATUS_AREA_WIDGET_TEST_HELPER_H_ |
7 | 7 |
8 #include "ash/system/user/login_status.h" | 8 #include "ash/system/user/login_status.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 | 12 |
13 class StatusAreaWidget; | 13 class StatusAreaWidget; |
14 | 14 |
15 class StatusAreaWidgetTestHelper { | 15 class StatusAreaWidgetTestHelper { |
16 public: | 16 public: |
17 static user::LoginStatus GetUserLoginStatus(); | 17 static LoginStatus GetUserLoginStatus(); |
18 | 18 |
19 // Returns the StatusAreaWidget that appears on the primary display. | 19 // Returns the StatusAreaWidget that appears on the primary display. |
20 static StatusAreaWidget* GetStatusAreaWidget(); | 20 static StatusAreaWidget* GetStatusAreaWidget(); |
21 | 21 |
22 // Returns the StatusAreaWidget that appears on the secondary display. | 22 // Returns the StatusAreaWidget that appears on the secondary display. |
23 static StatusAreaWidget* GetSecondaryStatusAreaWidget(); | 23 static StatusAreaWidget* GetSecondaryStatusAreaWidget(); |
24 | 24 |
25 private: | 25 private: |
26 DISALLOW_IMPLICIT_CONSTRUCTORS(StatusAreaWidgetTestHelper); | 26 DISALLOW_IMPLICIT_CONSTRUCTORS(StatusAreaWidgetTestHelper); |
27 }; | 27 }; |
28 | 28 |
29 } // namespace ash | 29 } // namespace ash |
30 | 30 |
31 #endif // ASH_SYSTEM_STATUS_AREA_WIDGET_TEST_HELPER_H_ | 31 #endif // ASH_SYSTEM_STATUS_AREA_WIDGET_TEST_HELPER_H_ |
OLD | NEW |