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

Side by Side Diff: ui/app_list/views/test/app_list_view_test_api.h

Issue 2143893002: Purge the App Launcher code from Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comment Created 4 years, 4 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
OLDNEW
(Empty)
1 // Copyright 2016 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 UI_APP_LIST_VIEWS_TEST_APP_LIST_VIEW_TEST_API_H_
6 #define UI_APP_LIST_VIEWS_TEST_APP_LIST_VIEW_TEST_API_H_
7
8 #include "base/callback.h"
9 #include "base/macros.h"
10
11 namespace app_list {
12
13 class AppListView;
14
15 namespace test {
16
17 // Allow access to private variables of the AppListView for testing.
18 class AppListViewTestApi {
19 public:
20 explicit AppListViewTestApi(app_list::AppListView* view);
21
22 bool is_overlay_visible();
23 void SetNextPaintCallback(const base::Closure& callback);
24
25 private:
26 app_list::AppListView* view_;
27
28 DISALLOW_COPY_AND_ASSIGN(AppListViewTestApi);
29 };
30
31 } // namespace test
32 } // namespace app_list
33
34 #endif // UI_APP_LIST_VIEWS_TEST_APP_LIST_VIEW_TEST_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698