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

Unified Diff: ash/system/tray/tray_utils.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/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 6ab589f42f5515940670997fc9940e3ac54c483d..072965bea7a774dcde1b19f6134359323f8d109a 100644
--- a/ash/system/tray/tray_utils.cc
+++ b/ash/system/tray/tray_utils.cc
@@ -4,7 +4,7 @@
#include "ash/system/tray/tray_utils.h"
-#include "ash/common/wm/shelf/wm_shelf_util.h"
+#include "ash/common/shelf/wm_shelf_util.h"
#include "ash/shelf/shelf_util.h"
#include "ash/system/tray/tray_constants.h"
#include "ash/system/tray/tray_item_view.h"
@@ -27,9 +27,8 @@ void SetupLabelForTray(views::Label* label) {
gfx::ShadowValue(gfx::Vector2d(0, 1), 0, SkColorSetARGB(64, 0, 0, 0))));
}
-void SetTrayImageItemBorder(views::View* tray_view,
- wm::ShelfAlignment alignment) {
- if (wm::IsHorizontalAlignment(alignment)) {
+void SetTrayImageItemBorder(views::View* tray_view, ShelfAlignment alignment) {
+ if (IsHorizontalAlignment(alignment)) {
tray_view->SetBorder(views::Border::CreateEmptyBorder(
0, kTrayImageItemHorizontalPaddingBottomAlignment, 0,
kTrayImageItemHorizontalPaddingBottomAlignment));
@@ -42,9 +41,8 @@ void SetTrayImageItemBorder(views::View* tray_view,
}
}
-void SetTrayLabelItemBorder(TrayItemView* tray_view,
- wm::ShelfAlignment alignment) {
- if (wm::IsHorizontalAlignment(alignment)) {
+void SetTrayLabelItemBorder(TrayItemView* tray_view, ShelfAlignment alignment) {
+ if (IsHorizontalAlignment(alignment)) {
tray_view->SetBorder(views::Border::CreateEmptyBorder(
0, kTrayLabelItemHorizontalPaddingBottomAlignment, 0,
kTrayLabelItemHorizontalPaddingBottomAlignment));
« 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