Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 #include "ui/app_list/views/test/app_list_view_test_api.h" | |
|
tapted
2016/07/26 01:34:42
nit: blank line before
calamity
2016/07/26 08:38:39
Done.
| |
| 5 | |
| 6 #include "ui/app_list/views/app_list_view.h" | |
| 7 | |
| 8 namespace test { | |
| 9 | |
| 10 AppListViewTestApi::AppListViewTestApi(app_list::AppListView* view) | |
| 11 : view_(view) {} | |
| 12 | |
| 13 AppListViewTestApi::~AppListViewTestApi() {} | |
| 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_->SetNextPaintCallback(callback); | |
| 22 } | |
| 23 | |
| 24 } // namespace test | |
| OLD | NEW |