| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_H_ | 5 #ifndef UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_H_ |
| 6 #define UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_H_ | 6 #define UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "ui/app_list/presenter/app_list_presenter_export.h" | 10 #include "ui/app_list/presenter/app_list_presenter_export.h" |
| 11 | 11 |
| 12 namespace aura { | |
| 13 class Window; | |
| 14 } | |
| 15 | |
| 16 namespace app_list { | 12 namespace app_list { |
| 17 | 13 |
| 18 // Interface for showing and hiding the app list. | 14 // Interface for showing and hiding the app list. |
| 19 class APP_LIST_PRESENTER_EXPORT AppListPresenter { | 15 class APP_LIST_PRESENTER_EXPORT AppListPresenter { |
| 20 public: | 16 public: |
| 21 virtual ~AppListPresenter() {} | 17 virtual ~AppListPresenter() {} |
| 22 | 18 |
| 23 // Show/hide app list window. The |window| is used to deterime in | 19 // Show/hide app list window. The |window| is used to deterime in |
| 24 // which display (in which the |window| exists) the app list should | 20 // which display (in which the |window| exists) the app list should |
| 25 // be shown. | 21 // be shown. |
| (...skipping 10 matching lines...) Expand all Loading... |
| 36 virtual bool IsVisible() const = 0; | 32 virtual bool IsVisible() const = 0; |
| 37 | 33 |
| 38 // Returns target visibility. This may differ from IsVisible() if a | 34 // Returns target visibility. This may differ from IsVisible() if a |
| 39 // visibility transition is in progress. | 35 // visibility transition is in progress. |
| 40 virtual bool GetTargetVisibility() const = 0; | 36 virtual bool GetTargetVisibility() const = 0; |
| 41 }; | 37 }; |
| 42 | 38 |
| 43 } // namespace app_list | 39 } // namespace app_list |
| 44 | 40 |
| 45 #endif // UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_H_ | 41 #endif // UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_H_ |
| OLD | NEW |