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

Unified Diff: ui/app_list/shower/test/app_list_shower_impl_test_api.cc

Issue 1770993002: wip: Refactoring Ash's AppListController, moving the bulk of the logic to chrome/browser/ui/ash/app… Base URL: https://chromium.googlesource.com/chromium/src.git@small_5_apps
Patch Set: AppListShower to new component: //ui/app_list/shower, GetViewDelegate() in GetViewDelegate(), test … Created 4 years, 8 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/shower/test/app_list_shower_impl_test_api.cc
diff --git a/ui/app_list/shower/test/app_list_shower_impl_test_api.cc b/ui/app_list/shower/test/app_list_shower_impl_test_api.cc
new file mode 100644
index 0000000000000000000000000000000000000000..9423b3718e899ee8cc912dac9208fdfa892cfbc9
--- /dev/null
+++ b/ui/app_list/shower/test/app_list_shower_impl_test_api.cc
@@ -0,0 +1,25 @@
+// Copyright 2013 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/shower/test/app_list_shower_impl_test_api.h"
+
+#include "ui/app_list/shower/app_list_shower_impl.h"
+#include "ui/app_list/views/app_list_view.h"
+
+namespace app_list {
+namespace test {
+
+AppListShowerImplTestApi::AppListShowerImplTestApi(AppListShowerImpl* shower)
+ : shower_(shower) {}
+
+AppListView* AppListShowerImplTestApi::view() {
+ return shower_->view_;
+}
+
+AppListShowerDelegate* AppListShowerImplTestApi::shower_delegate() {
+ return shower_->shower_delegate_.get();
+}
+
+} // namespace test
+} // namespace app_list
« no previous file with comments | « ui/app_list/shower/test/app_list_shower_impl_test_api.h ('k') | ui/app_list/shower/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698