Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(700)

Side by Side Diff: ash/test/launcher_test_api.h

Issue 23449033: [ash] Remove Launcher::GetLauncherViewForTest() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing class keyword Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/shelf/shelf_widget_unittest.cc ('k') | ash/test/launcher_test_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_widget_unittest.cc ('k') | ash/test/launcher_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698