Index: ui/app_list/presenter/app_list_presenter.h |
diff --git a/ui/app_list/presenter/app_list_presenter.h b/ui/app_list/presenter/app_list_presenter.h |
index cea0c9ba936881b00501cb3cf7b1fd3d25a8a93d..702e13fa3998a23cbc852a2ebbd2b38ccafa88c8 100644 |
--- a/ui/app_list/presenter/app_list_presenter.h |
+++ b/ui/app_list/presenter/app_list_presenter.h |
@@ -32,6 +32,9 @@ class APP_LIST_PRESENTER_EXPORT AppListPresenter { |
// Show the app list if it is visible, hide it if it is hidden. |
virtual void ToggleAppList(int64_t display_id) = 0; |
+ // Returns actual visibility of the app list. |
+ virtual bool IsVisible() const = 0; |
+ |
// Returns target visibility. This may differ from IsVisible() if a |
// visibility transition is in progress. |
virtual bool GetTargetVisibility() const = 0; |