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

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

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 #include "ui/app_list/views/test/app_list_view_test_api.h"
6
7 #include "ui/app_list/views/app_list_view.h"
8
9 namespace app_list {
10 namespace test {
11
12 AppListViewTestApi::AppListViewTestApi(app_list::AppListView* view)
13 : view_(view) {}
14
15 bool AppListViewTestApi::is_overlay_visible() {
16 DCHECK(view_->overlay_view_);
17 return view_->overlay_view_->visible();
18 }
19
20 void AppListViewTestApi::SetNextPaintCallback(const base::Closure& callback) {
21 view_->next_paint_callback_ = callback;
22 }
23
24 } // namespace test
25 } // namespace app_list
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698