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

Unified Diff: ash/common/wm_root_window_controller.cc

Issue 2573703003: chromeos: Fix shelf appearing at login screen under mash (Closed)
Patch Set: msw comments 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
« no previous file with comments | « ash/common/wm_root_window_controller.h ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_root_window_controller.cc
diff --git a/ash/common/wm_root_window_controller.cc b/ash/common/wm_root_window_controller.cc
index d4f1be97d9218ac924a4ddc0816d970d8b4a278e..77dc1570bae6fdd94776491d063efc75aecae651 100644
--- a/ash/common/wm_root_window_controller.cc
+++ b/ash/common/wm_root_window_controller.cc
@@ -215,15 +215,6 @@ void WmRootWindowController::CreateShelf() {
shelf->shelf_widget()->PostCreateShelf();
}
-void WmRootWindowController::ShowShelf() {
- WmShelf* shelf = GetShelf();
- if (!shelf->IsShelfInitialized())
- return;
- // TODO(jamescook): Move this into WmShelf.
- shelf->shelf_widget()->SetShelfVisibility(true);
- shelf->shelf_widget()->status_area_widget()->Show();
-}
-
SystemTray* WmRootWindowController::GetSystemTray() {
ShelfWidget* shelf_widget = GetShelf()->shelf_widget();
if (!shelf_widget || !shelf_widget->status_area_widget())
« no previous file with comments | « ash/common/wm_root_window_controller.h ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698