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

Unified Diff: ash/common/wm_shell.cc

Issue 2534953006: Fix shelf auto-hide calculation for app-list visibility. (Closed)
Patch Set: Cleanup. Created 4 years 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/common/wm_shell.cc
diff --git a/ash/common/wm_shell.cc b/ash/common/wm_shell.cc
index 41d6b6247421cfb9d6e448affe4665db559dab27..a3e7211d000f103be8fa51d7cb15c86043b0d819 100644
--- a/ash/common/wm_shell.cc
+++ b/ash/common/wm_shell.cc
@@ -342,12 +342,12 @@ void WmShell::ToggleAppList() {
delegate_->GetAppListPresenter()->ToggleAppList(display_id);
}
-bool WmShell::IsApplistVisible() const {
- return delegate_->GetAppListPresenter()->IsVisible();
+bool WmShell::IsApplistVisible(int64_t display_id) const {
+ return delegate_->GetAppListPresenter()->IsVisible(display_id);
}
-bool WmShell::GetAppListTargetVisibility() const {
- return delegate_->GetAppListPresenter()->GetTargetVisibility();
+bool WmShell::GetAppListTargetVisibility(int64_t display_id) const {
+ return delegate_->GetAppListPresenter()->GetTargetVisibility(display_id);
}
void WmShell::SetKeyboardUI(std::unique_ptr<KeyboardUI> keyboard_ui) {

Powered by Google App Engine
This is Rietveld 408576698