Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Unified Diff: ui/app_list/presenter/app_list_presenter.h

Issue 2070143003: Add MD ink drop ripple to app list button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@b612539_shelf_button_ripple
Patch Set: Changed SetHasInkDrop to SetInkDropMode Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698