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

Unified Diff: chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc

Issue 2272793005: ash: Move alignment and autohide behavior from Shelf to WmShelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments 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
Index: chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc
diff --git a/chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc b/chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc
index affc8829d4e37d459995ebbac62697910cc8bc38..6cdcce648d31b7299b57d62ff80b8dd24c2e737d 100644
--- a/chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc
+++ b/chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc
@@ -4,7 +4,7 @@
#include "chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.h"
-#include "ash/common/shelf/shelf.h"
+#include "ash/aura/wm_shelf_aura.h"
#include "ash/root_window_controller.h"
#include "ash/shell.h"
#include "base/macros.h"
@@ -83,7 +83,7 @@ void MultiprofilesSessionAbortedView::ShowDialog(
std::vector<ash::RootWindowController*> controllers =
ash::Shell::GetAllRootWindowControllers();
for (ash::RootWindowController* controller : controllers) {
- controller->GetShelf()->SetAutoHideBehavior(
+ controller->wm_shelf_aura()->SetAutoHideBehavior(
ash::SHELF_AUTO_HIDE_ALWAYS_HIDDEN);
}
}

Powered by Google App Engine
This is Rietveld 408576698