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

Unified Diff: ash/test/test_app_list_presenter_impl.h

Issue 2576913002: Use mojo app list interfaces for mash and classic ash. (Closed)
Patch Set: Fix AppListPresenterImplTest. Created 4 years 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: ash/test/test_app_list_presenter_impl.h
diff --git a/ash/test/test_app_list_presenter_impl.h b/ash/test/test_app_list_presenter_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..c1d35164a0a86ae5698b8453798c8b55137fe59d
--- /dev/null
+++ b/ash/test/test_app_list_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_PRESENTER_IMPL_H_
+#define ASH_TEST_TEST_APP_LIST_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 {
+
+// A test implementation of the app list presenter, using ash's delegate.
+// Some tests rely on the presenter and delegate implementations' behavior.
+class TestAppListPresenterImpl : public app_list::AppListPresenterImpl {
mfomitchev 2016/12/22 18:27:11 Nit: Maybe call this AppListPresenterWrapper or Ap
msw 2016/12/23 03:59:34 Technically this is an AppListPresenterImpl that u
+ public:
+ TestAppListPresenterImpl();
+ ~TestAppListPresenterImpl() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(TestAppListPresenterImpl);
+};
+
+} // namespace test
+} // namespace ash
+
+#endif // ASH_TEST_TEST_APP_LIST_PRESENTER_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698