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

Unified Diff: ash/shell.cc

Issue 9764008: Makes the launcher auto-hide for maximized windows. This turned out to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add null checks and cleanup Created 8 years, 9 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 e4edd6bf9767b9a437a4b64a6d10589ab3fe8737..d1a27098146c5b6ad793ced8cfa83ffe1304185e 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -736,7 +736,8 @@ void Shell::InitLayoutManagers() {
DCHECK(status_widget_);
internal::ShelfLayoutManager* shelf_layout_manager =
- new internal::ShelfLayoutManager(launcher_->widget(), status_widget_);
+ new internal::ShelfLayoutManager(status_widget_);
+ shelf_layout_manager->SetLauncher(launcher_.get());
GetContainer(internal::kShellWindowId_LauncherContainer)->
SetLayoutManager(shelf_layout_manager);
shelf_ = shelf_layout_manager;
« ash/launcher/launcher.cc ('K') | « ash/shell.h ('k') | ash/shell_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698