Chromium Code Reviews| 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_ |