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

Unified Diff: ash/shelf/shelf_locking_manager.cc

Issue 2036353002: mash: Move ash/common/wm/shelf to ash/common/shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 years, 6 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_locking_manager.h ('k') | ash/shelf/shelf_locking_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_locking_manager.cc
diff --git a/ash/shelf/shelf_locking_manager.cc b/ash/shelf/shelf_locking_manager.cc
index d82177ec89e116a552e989e06cd1ac040d97ff03..26b65bb832022cc2558424d0bec5be081e3d3eeb 100644
--- a/ash/shelf/shelf_locking_manager.cc
+++ b/ash/shelf/shelf_locking_manager.cc
@@ -47,11 +47,11 @@ void ShelfLockingManager::OnLockStateEvent(EventType event) {
}
void ShelfLockingManager::UpdateLockedState() {
- const wm::ShelfAlignment alignment = shelf_->alignment();
- if (is_locked() && alignment != wm::SHELF_ALIGNMENT_BOTTOM_LOCKED) {
+ const ShelfAlignment alignment = shelf_->alignment();
+ if (is_locked() && alignment != SHELF_ALIGNMENT_BOTTOM_LOCKED) {
stored_alignment_ = alignment;
- shelf_->SetAlignment(wm::SHELF_ALIGNMENT_BOTTOM_LOCKED);
- } else if (!is_locked() && alignment == wm::SHELF_ALIGNMENT_BOTTOM_LOCKED) {
+ shelf_->SetAlignment(SHELF_ALIGNMENT_BOTTOM_LOCKED);
+ } else if (!is_locked() && alignment == SHELF_ALIGNMENT_BOTTOM_LOCKED) {
shelf_->SetAlignment(stored_alignment_);
}
}
« no previous file with comments | « ash/shelf/shelf_locking_manager.h ('k') | ash/shelf/shelf_locking_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698