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

Unified Diff: ash/shell.cc

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: Updated tests 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: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 9d15218621caed7de0e2b2a5fbb747e93603d93b..1853dc82446c404d2bb1c9ea6498a364f716fe84 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -339,6 +339,10 @@ void Shell::ToggleAppList(aura::Window* window) {
GetDisplayIdForWindow(window));
}
+bool Shell::IsApplistVisible() const {
+ return delegate_->GetAppListPresenter()->IsVisible();
+}
+
bool Shell::GetAppListTargetVisibility() const {
return delegate_->GetAppListPresenter()->GetTargetVisibility();
}

Powered by Google App Engine
This is Rietveld 408576698