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

Unified Diff: ash/shell.cc

Issue 1877543002: Revise the shelf alignment locking mechanism. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move logic to a new ShelfLockingManager, owned by Shelf. 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
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 55f13e67755c2c751c063f23e6903efc8911a5b6..24397967c956a29b7e284a5825c8d6958494bb46 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -513,7 +513,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,
@@ -522,7 +522,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) {

Powered by Google App Engine
This is Rietveld 408576698