OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ASH_TEST_LAUNCHER_TEST_API_H_ |
| 6 #define ASH_TEST_LAUNCHER_TEST_API_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 |
| 10 namespace ash { |
| 11 |
| 12 class Launcher; |
| 13 |
| 14 namespace internal { |
| 15 class LauncherView; |
| 16 } |
| 17 |
| 18 namespace test { |
| 19 |
| 20 // Use the api in this class to access private members of Launcher. |
| 21 class LauncherTestAPI { |
| 22 public: |
| 23 explicit LauncherTestAPI(Launcher* launcher); |
| 24 |
| 25 ~LauncherTestAPI(); |
| 26 |
| 27 // An accessor for |launcher_view|. |
| 28 internal::LauncherView* launcher_view(); |
| 29 |
| 30 private: |
| 31 Launcher* launcher_; |
| 32 |
| 33 DISALLOW_COPY_AND_ASSIGN(LauncherTestAPI); |
| 34 }; |
| 35 |
| 36 } // namespace test |
| 37 } // namespace ash |
| 38 |
| 39 #endif // ASH_TEST_LAUNCHER_VIEW_TEST_API_H_ |
OLD | NEW |