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

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

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
« no previous file with comments | « ui/app_list/shower/test/DEPS ('k') | ui/app_list/shower/test/app_list_shower_impl_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/shower/test/app_list_shower_impl_test_api.h
diff --git a/ui/app_list/shower/test/app_list_shower_impl_test_api.h b/ui/app_list/shower/test/app_list_shower_impl_test_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..8f5958745afa5ade2f1f93634b075fe7ecc13be6
--- /dev/null
+++ b/ui/app_list/shower/test/app_list_shower_impl_test_api.h
@@ -0,0 +1,34 @@
+// 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.
+
+#ifndef UI_APP_LIST_SHOWER_TEST_APP_LIST_SHOWER_IMPL_TEST_API_H_
+#define UI_APP_LIST_SHOWER_TEST_APP_LIST_SHOWER_IMPL_TEST_API_H_
+
+#include "base/macros.h"
+
+namespace app_list {
+class AppListShowerDelegate;
+class AppListShowerImpl;
+class AppListView;
+
+namespace test {
+
+// Accesses private data from an AppListController for testing.
+class AppListShowerImplTestApi {
+ public:
+ explicit AppListShowerImplTestApi(AppListShowerImpl* shower);
+
+ AppListView* view();
+ AppListShowerDelegate* shower_delegate();
+
+ private:
+ AppListShowerImpl* const shower_;
+
+ DISALLOW_COPY_AND_ASSIGN(AppListShowerImplTestApi);
+};
+
+} // namespace test
+} // namespace app_list
+
+#endif // UI_APP_LIST_SHOWER_TEST_APP_LIST_SHOWER_IMPL_TEST_API_H_
« no previous file with comments | « ui/app_list/shower/test/DEPS ('k') | ui/app_list/shower/test/app_list_shower_impl_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698