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

Unified Diff: ash/test/test_app_list_view_presenter_impl.h

Issue 2576913002: Use mojo app list interfaces for mash and classic ash. (Closed)
Patch Set: Sync and rebase Created 3 years, 11 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 | « ash/test/BUILD.gn ('k') | ash/test/test_app_list_view_presenter_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_app_list_view_presenter_impl.h
diff --git a/ash/test/test_app_list_view_presenter_impl.h b/ash/test/test_app_list_view_presenter_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..6d414f98bd38a9aea40da3f6c070611eef2a0f01
--- /dev/null
+++ b/ash/test/test_app_list_view_presenter_impl.h
@@ -0,0 +1,29 @@
+// 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.
+
+#ifndef ASH_TEST_TEST_APP_LIST_VIEW_PRESENTER_IMPL_H_
+#define ASH_TEST_TEST_APP_LIST_VIEW_PRESENTER_IMPL_H_
+
+#include "ash/ash_export.h"
+#include "base/macros.h"
+#include "ui/app_list/presenter/app_list_presenter_impl.h"
+
+namespace ash {
+namespace test {
+
+// An app list presenter impl subclass that presents a no-op test app list view.
+// Some tests rely on the presenter and delegate implementations' behavior.
+class TestAppListViewPresenterImpl : public app_list::AppListPresenterImpl {
+ public:
+ TestAppListViewPresenterImpl();
+ ~TestAppListViewPresenterImpl() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(TestAppListViewPresenterImpl);
+};
+
+} // namespace test
+} // namespace ash
+
+#endif // ASH_TEST_TEST_APP_LIST_VIEW_PRESENTER_IMPL_H_
« no previous file with comments | « ash/test/BUILD.gn ('k') | ash/test/test_app_list_view_presenter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698