Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef ASH_TEST_TEST_APP_LIST_PRESENTER_IMPL_H_ | |
| 6 #define ASH_TEST_TEST_APP_LIST_PRESENTER_IMPL_H_ | |
| 7 | |
| 8 #include "ash/ash_export.h" | |
| 9 #include "base/macros.h" | |
| 10 #include "ui/app_list/presenter/app_list_presenter_impl.h" | |
| 11 | |
| 12 namespace ash { | |
| 13 namespace test { | |
| 14 | |
| 15 // A test implementation of the app list presenter, using ash's delegate. | |
| 16 // Some tests rely on the presenter and delegate implementations' behavior. | |
| 17 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
| |
| 18 public: | |
| 19 TestAppListPresenterImpl(); | |
| 20 ~TestAppListPresenterImpl() override; | |
| 21 | |
| 22 private: | |
| 23 DISALLOW_COPY_AND_ASSIGN(TestAppListPresenterImpl); | |
| 24 }; | |
| 25 | |
| 26 } // namespace test | |
| 27 } // namespace ash | |
| 28 | |
| 29 #endif // ASH_TEST_TEST_APP_LIST_PRESENTER_IMPL_H_ | |
| OLD | NEW |