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

Unified Diff: ash/system/tray/tray_utils.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
« no previous file with comments | « ash/system/tray/tray_utils.h ('k') | ash/system/user/tray_user.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_utils.cc
diff --git a/ash/system/tray/tray_utils.cc b/ash/system/tray/tray_utils.cc
index 9d58afb8f099de8e5d5431bd5c2dd5dff6014d47..352529465cde2bdd196eefb2da4367ccadf71117 100644
--- a/ash/system/tray/tray_utils.cc
+++ b/ash/system/tray/tray_utils.cc
@@ -26,7 +26,7 @@ void SetupLabelForTray(views::Label* label) {
}
void SetTrayImageItemBorder(views::View* tray_view,
- ShelfAlignment alignment) {
+ wm::ShelfAlignment alignment) {
if (IsHorizontalAlignment(alignment)) {
tray_view->SetBorder(views::Border::CreateEmptyBorder(
0, kTrayImageItemHorizontalPaddingBottomAlignment, 0,
@@ -41,7 +41,7 @@ void SetTrayImageItemBorder(views::View* tray_view,
}
void SetTrayLabelItemBorder(TrayItemView* tray_view,
- ShelfAlignment alignment) {
+ wm::ShelfAlignment alignment) {
if (IsHorizontalAlignment(alignment)) {
tray_view->SetBorder(views::Border::CreateEmptyBorder(
0, kTrayLabelItemHorizontalPaddingBottomAlignment, 0,
« no previous file with comments | « ash/system/tray/tray_utils.h ('k') | ash/system/user/tray_user.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698