Index: ash/wm/app_list_controller.cc |
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc |
index d6465d262842e580febe4a7d25c8c8c1d305f541..7265957495d31a4bd07fd7f2b61fdd23e5a5f46a 100644 |
--- a/ash/wm/app_list_controller.cc |
+++ b/ash/wm/app_list_controller.cc |
@@ -57,7 +57,7 @@ views::BubbleBorder::Arrow GetBubbleArrow(aura::Window* window) { |
DCHECK(Shell::HasInstance()); |
return Shelf::ForWindow(window)->SelectValueForShelfAlignment( |
views::BubbleBorder::BOTTOM_CENTER, views::BubbleBorder::LEFT_CENTER, |
- views::BubbleBorder::RIGHT_CENTER, views::BubbleBorder::TOP_CENTER); |
+ views::BubbleBorder::RIGHT_CENTER); |
} |
// Offset given |rect| towards shelf. |
@@ -76,9 +76,6 @@ gfx::Rect OffsetTowardsShelf(const gfx::Rect& rect, views::Widget* widget) { |
case SHELF_ALIGNMENT_RIGHT: |
offseted.Offset(kAnimationOffset, 0); |
break; |
- case SHELF_ALIGNMENT_TOP: |
- offseted.Offset(0, -kAnimationOffset); |
- break; |
} |
return offseted; |
@@ -93,7 +90,6 @@ gfx::Vector2d GetAnchorPositionOffsetToShelf( |
widget->GetNativeView()->GetRootWindow()); |
gfx::Point anchor(button_bounds.CenterPoint()); |
switch (shelf_alignment) { |
- case SHELF_ALIGNMENT_TOP: |
case SHELF_ALIGNMENT_BOTTOM: |
if (base::i18n::IsRTL()) { |
int screen_width = widget->GetWorkAreaBoundsInScreen().width(); |