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

Unified Diff: ash/shell.cc

Issue 11570017: Enables storing shelf's auto_hide_behavior and alignment per display. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 16512512a4c15a5d6080001864b686d32d67ec8d..bb1f88891a3498a2967953f3b149a6fcad41540b 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -719,7 +719,8 @@ ShelfAutoHideBehavior Shell::GetShelfAutoHideBehavior(
void Shell::SetShelfAlignment(ShelfAlignment alignment,
aura::RootWindow* root_window) {
if (GetRootWindowController(root_window)->SetShelfAlignment(alignment))
oshima 2012/12/14 11:03:55 nit: you need {}
Jun Mukai 2012/12/14 18:47:16 Done.
- FOR_EACH_OBSERVER(ShellObserver, observers_, OnShelfAlignmentChanged());
+ FOR_EACH_OBSERVER(
+ ShellObserver, observers_, OnShelfAlignmentChanged(root_window));
}
ShelfAlignment Shell::GetShelfAlignment(aura::RootWindow* root_window) {
« no previous file with comments | « no previous file | ash/shell_observer.h » ('j') | chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698