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" |
(...skipping 14 matching lines...) Expand all Loading... | |
25 // be shown. | 25 // be shown. |
26 virtual void Show(int64_t display_id) = 0; | 26 virtual void Show(int64_t display_id) = 0; |
27 | 27 |
28 // Invoked to dismiss app list. This may leave the view open but hidden from | 28 // Invoked to dismiss app list. This may leave the view open but hidden from |
29 // the user. | 29 // the user. |
30 virtual void Dismiss() = 0; | 30 virtual void Dismiss() = 0; |
31 | 31 |
32 // Show the app list if it is visible, hide it if it is hidden. | 32 // Show the app list if it is visible, hide it if it is hidden. |
33 virtual void ToggleAppList(int64_t display_id) = 0; | 33 virtual void ToggleAppList(int64_t display_id) = 0; |
34 | 34 |
35 // Returns actual visibility of the app list. | |
sky
2016/06/30 16:57:48
nit: actual->current
mohsen
2016/07/01 06:06:52
Done.
| |
36 virtual bool IsVisible() const = 0; | |
37 | |
35 // Returns target visibility. This may differ from IsVisible() if a | 38 // Returns target visibility. This may differ from IsVisible() if a |
36 // visibility transition is in progress. | 39 // visibility transition is in progress. |
37 virtual bool GetTargetVisibility() const = 0; | 40 virtual bool GetTargetVisibility() const = 0; |
38 }; | 41 }; |
39 | 42 |
40 } // namespace app_list | 43 } // namespace app_list |
41 | 44 |
42 #endif // UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_H_ | 45 #endif // UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_H_ |
OLD | NEW |