OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_TRAY_CAST_TEST_API_H_ | 5 #ifndef ASH_TEST_TRAY_CAST_TEST_API_H_ |
6 #define ASH_TEST_TRAY_CAST_TEST_API_H_ | 6 #define ASH_TEST_TRAY_CAST_TEST_API_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
11 #include "ash/system/cast/tray_cast.h" | 11 #include "ash/system/cast/tray_cast.h" |
| 12 #include "base/macros.h" |
12 | 13 |
13 namespace ash { | 14 namespace ash { |
14 | 15 |
15 class TrayCastTestAPI { | 16 class TrayCastTestAPI { |
16 public: | 17 public: |
17 explicit TrayCastTestAPI(TrayCast* tray_cast); | 18 explicit TrayCastTestAPI(TrayCast* tray_cast); |
18 ~TrayCastTestAPI(); | 19 ~TrayCastTestAPI(); |
19 | 20 |
20 bool IsTrayInitialized() const; | 21 bool IsTrayInitialized() const; |
21 bool IsTrayVisible() const; | 22 bool IsTrayVisible() const; |
(...skipping 27 matching lines...) Expand all Loading... |
49 | 50 |
50 // Not owned. | 51 // Not owned. |
51 TrayCast* tray_cast_; | 52 TrayCast* tray_cast_; |
52 | 53 |
53 DISALLOW_COPY_AND_ASSIGN(TrayCastTestAPI); | 54 DISALLOW_COPY_AND_ASSIGN(TrayCastTestAPI); |
54 }; | 55 }; |
55 | 56 |
56 } // namespace ash | 57 } // namespace ash |
57 | 58 |
58 #endif // ASH_TEST_TRAY_CAST_TEST_API_H_ | 59 #endif // ASH_TEST_TRAY_CAST_TEST_API_H_ |
OLD | NEW |