Index: ash/system/tray/tray_item_view.cc |
diff --git a/ash/system/tray/tray_item_view.cc b/ash/system/tray/tray_item_view.cc |
index 5fe35ec32a12e16776757d9ced715e77f4cffa70..f7d4652b8ae2e456709269b7cd26acb02e74306f 100644 |
--- a/ash/system/tray/tray_item_view.cc |
+++ b/ash/system/tray/tray_item_view.cc |
@@ -4,8 +4,8 @@ |
#include "ash/system/tray/tray_item_view.h" |
-#include "ash/common/wm/shelf/wm_shelf_util.h" |
-#include "ash/shelf/shelf_types.h" |
+#include "ash/common/shelf/shelf_types.h" |
+#include "ash/common/shelf/wm_shelf_util.h" |
#include "ash/shelf/shelf_util.h" |
#include "ash/system/tray/system_tray.h" |
#include "ash/system/tray/system_tray_item.h" |
@@ -87,13 +87,13 @@ int TrayItemView::GetAnimationDurationMS() { |
gfx::Size TrayItemView::GetPreferredSize() const { |
gfx::Size size = DesiredSize(); |
- if (wm::IsHorizontalAlignment(owner()->system_tray()->shelf_alignment())) |
+ if (IsHorizontalAlignment(owner()->system_tray()->shelf_alignment())) |
size.set_height(kTrayIconHeight); |
else |
size.set_width(kTrayIconWidth); |
if (!animation_.get() || !animation_->is_animating()) |
return size; |
- if (wm::IsHorizontalAlignment(owner()->system_tray()->shelf_alignment())) { |
+ if (IsHorizontalAlignment(owner()->system_tray()->shelf_alignment())) { |
size.set_width(std::max(1, |
static_cast<int>(size.width() * animation_->GetCurrentValue()))); |
} else { |
@@ -113,7 +113,7 @@ void TrayItemView::ChildPreferredSizeChanged(views::View* child) { |
void TrayItemView::AnimationProgressed(const gfx::Animation* animation) { |
gfx::Transform transform; |
- if (wm::IsHorizontalAlignment(owner()->system_tray()->shelf_alignment())) { |
+ if (IsHorizontalAlignment(owner()->system_tray()->shelf_alignment())) { |
transform.Translate(0, animation->CurrentValueBetween( |
static_cast<double>(height()) / 2, 0.)); |
} else { |