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

Unified Diff: ash/root_window_controller.cc

Issue 2401803002: Moves Shell::ShowShelf() to WmShell (Closed)
Patch Set: Created 4 years, 2 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/root_window_controller.h ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 54b3887ae5f771e48bfe7f1e8d1f6373fc7d6196..14c2f1e2aaeb1bbe51ca887b5c1a57b96ef582a6 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -311,14 +311,6 @@ const aura::Window* RootWindowController::GetContainer(int container_id) const {
return ash_host_->AsWindowTreeHost()->window()->GetChildById(container_id);
}
-void RootWindowController::ShowShelf() {
- if (!wm_shelf_aura_->IsShelfInitialized())
- return;
- // TODO(jamescook): Move this into WmShelf.
- wm_shelf_aura_->shelf_widget()->SetShelfVisibility(true);
- wm_shelf_aura_->shelf_widget()->status_area_widget()->Show();
-}
-
void RootWindowController::CreateShelf() {
if (wm_shelf_aura_->IsShelfInitialized())
return;
« no previous file with comments | « ash/root_window_controller.h ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698