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

Unified Diff: ash/shell.cc

Issue 1907363004: (Merge to M-51) Revise the shelf alignment locking mechanism. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 8 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/shelf/shelf_widget_unittest.cc ('k') | ash/system/cast/tray_cast.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index b4972ec0a3a2024221a3e77d605e06c855dc8caa..0eccf0ae44df732452a2f81dd3b78e32c56634cf 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -517,7 +517,7 @@ void Shell::SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior,
ShelfAutoHideBehavior Shell::GetShelfAutoHideBehavior(
aura::Window* root_window) const {
- return Shelf::ForWindow(root_window)->GetAutoHideBehavior();
+ return Shelf::ForWindow(root_window)->auto_hide_behavior();
}
void Shell::SetShelfAlignment(ShelfAlignment alignment,
@@ -526,7 +526,7 @@ void Shell::SetShelfAlignment(ShelfAlignment alignment,
}
ShelfAlignment Shell::GetShelfAlignment(const aura::Window* root_window) const {
- return Shelf::ForWindow(root_window)->GetAlignment();
+ return Shelf::ForWindow(root_window)->alignment();
}
void Shell::OnShelfAlignmentChanged(aura::Window* root_window) {
« no previous file with comments | « ash/shelf/shelf_widget_unittest.cc ('k') | ash/system/cast/tray_cast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698