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

Unified 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: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: ui/app_list/views/test/app_list_view_test_api.cc
diff --git a/ui/app_list/views/test/app_list_view_test_api.cc b/ui/app_list/views/test/app_list_view_test_api.cc
new file mode 100644
index 0000000000000000000000000000000000000000..ce3f93741c482008199616993a7786539f5fe113
--- /dev/null
+++ b/ui/app_list/views/test/app_list_view_test_api.cc
@@ -0,0 +1,24 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+#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.
+
+#include "ui/app_list/views/app_list_view.h"
+
+namespace test {
+
+AppListViewTestApi::AppListViewTestApi(app_list::AppListView* view)
+ : view_(view) {}
+
+AppListViewTestApi::~AppListViewTestApi() {}
+
+bool AppListViewTestApi::is_overlay_visible() {
+ DCHECK(view_->overlay_view_);
+ return view_->overlay_view_->visible();
+}
+
+void AppListViewTestApi::SetNextPaintCallback(const base::Closure& callback) {
+ view_->SetNextPaintCallback(callback);
+}
+
+} // namespace test

Powered by Google App Engine
This is Rietveld 408576698