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

Unified Diff: ash/system/web_notification/ash_popup_alignment_delegate.cc

Issue 1914093002: Refactors DockedWindowLayoutManager in terms of ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nuke_aura_window
Patch Set: comment 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/system/web_notification/ash_popup_alignment_delegate.cc
diff --git a/ash/system/web_notification/ash_popup_alignment_delegate.cc b/ash/system/web_notification/ash_popup_alignment_delegate.cc
index a49a78c6e2d800f25c1542f8184b5203271ac856..71612f2b5d2427791c68a77dfd90c3a27be9b433 100644
--- a/ash/system/web_notification/ash_popup_alignment_delegate.cc
+++ b/ash/system/web_notification/ash_popup_alignment_delegate.cc
@@ -98,7 +98,7 @@ bool AshPopupAlignmentDelegate::IsTopDown() const {
}
bool AshPopupAlignmentDelegate::IsFromLeft() const {
- return GetAlignment() == SHELF_ALIGNMENT_LEFT;
+ return GetAlignment() == wm::SHELF_ALIGNMENT_LEFT;
}
void AshPopupAlignmentDelegate::RecomputeAlignment(
@@ -106,7 +106,7 @@ void AshPopupAlignmentDelegate::RecomputeAlignment(
// Nothing needs to be done.
}
-ShelfAlignment AshPopupAlignmentDelegate::GetAlignment() const {
+wm::ShelfAlignment AshPopupAlignmentDelegate::GetAlignment() const {
return shelf_->GetAlignment();
}

Powered by Google App Engine
This is Rietveld 408576698