| 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_MUS_APP_LIST_PRESENTER_MUS_H_ | |
| 6 #define ASH_MUS_APP_LIST_PRESENTER_MUS_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "ui/app_list/presenter/app_list_presenter.h" | |
| 10 | |
| 11 namespace ash { | |
| 12 | |
| 13 // Mus+ash implementation of the AppListPresenter interface for mash, which | |
| 14 // talks to the app list presenter service in chrome. | |
| 15 class AppListPresenterMus : public app_list::AppListPresenter { | |
| 16 public: | |
| 17 AppListPresenterMus(); | |
| 18 ~AppListPresenterMus() override; | |
| 19 | |
| 20 // app_list::AppListPresenter: | |
| 21 void Show(int64_t display_id) override; | |
| 22 void Dismiss() override; | |
| 23 void ToggleAppList(int64_t display_id) override; | |
| 24 bool IsVisible() const override; | |
| 25 bool GetTargetVisibility() const override; | |
| 26 | |
| 27 private: | |
| 28 DISALLOW_COPY_AND_ASSIGN(AppListPresenterMus); | |
| 29 }; | |
| 30 | |
| 31 } // namespace ash | |
| 32 | |
| 33 #endif // ASH_MUS_APP_LIST_PRESENTER_MUS_H_ | |
| OLD | NEW |