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

Unified Diff: ash/common/wm/overview/window_selector.cc

Issue 2293183002: ash: Remove ash::Shelf in favor of ash::WmShelf (Closed)
Patch Set: rebase again Created 4 years, 4 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
« no previous file with comments | « ash/common/wm/overview/window_grid.cc ('k') | ash/common/wm/panels/panel_layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/overview/window_selector.cc
diff --git a/ash/common/wm/overview/window_selector.cc b/ash/common/wm/overview/window_selector.cc
index ae615e4e7985d8cd459866745af812167bcfa830..c418acf4a2d33e07c0c236d20947402c06d8213b 100644
--- a/ash/common/wm/overview/window_selector.cc
+++ b/ash/common/wm/overview/window_selector.cc
@@ -168,7 +168,7 @@ class RoundedContainerView : public views::View {
// Triggers a shelf visibility update on all root window controllers.
void UpdateShelfVisibility() {
for (WmWindow* root : WmShell::Get()->GetAllRootWindows())
- root->GetRootWindowController()->GetShelf()->UpdateVisibilityState();
+ WmShelf::ForWindow(root)->UpdateVisibilityState();
}
gfx::Rect GetTextFilterPosition(WmWindow* root_window) {
« no previous file with comments | « ash/common/wm/overview/window_grid.cc ('k') | ash/common/wm/panels/panel_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698