Index: ui/views/controls/menu/menu_item_view.h |
diff --git a/ui/views/controls/menu/menu_item_view.h b/ui/views/controls/menu/menu_item_view.h |
index f2287733ed8498556421d587767596a2561c821d..90270485ab3885699a7b82bc1f34d04ee6adb9d4 100644 |
--- a/ui/views/controls/menu/menu_item_view.h |
+++ b/ui/views/controls/menu/menu_item_view.h |
@@ -83,21 +83,6 @@ class VIEWS_EXPORT MenuItemView : public View { |
EMPTY |
}; |
- // Where the menu should be anchored to for non-RTL languages. The |
- // opposite position will be used if base::i18n:IsRTL() is true. |
- // The BUBBLE flags are used when the menu should get enclosed by a bubble. |
- // Note that BUBBLE flags should only be used with menus which have no |
- // children. |
- enum AnchorPosition { |
- TOPLEFT, |
- TOPRIGHT, |
- BOTTOMCENTER, |
- BUBBLE_LEFT, |
- BUBBLE_RIGHT, |
- BUBBLE_ABOVE, |
- BUBBLE_BELOW |
- }; |
- |
tapted
2014/04/29 11:53:14
<link to interesting bit>
|
// Where the menu should be drawn, above or below the bounds (when |
// the bounds is non-empty). POSITION_BEST_FIT (default) positions |
// the menu below the bounds unless the menu does not fit on the |
@@ -143,7 +128,7 @@ class VIEWS_EXPORT MenuItemView : public View { |
static int label_start() { return label_start_; } |
// Returns if a given |anchor| is a bubble or not. |
- static bool IsBubble(MenuItemView::AnchorPosition anchor); |
+ static bool IsBubble(ui::MenuAnchorPosition anchor); |
// Returns the accessible name to be used with screen readers. Mnemonics are |
// removed and the menu item accelerator text is appended. |