Index: ui/base/models/menu_separator_types.h |
diff --git a/ui/base/models/menu_separator_types.h b/ui/base/models/menu_separator_types.h |
index 32c573d84dfb6f4e336561df410d7d0f833a585b..dc4e751e38ac802c9839c786d0f6757b71ca5c7f 100644 |
--- a/ui/base/models/menu_separator_types.h |
+++ b/ui/base/models/menu_separator_types.h |
@@ -22,6 +22,21 @@ enum MenuSeparatorType { |
SPACING_SEPARATOR |
}; |
+// 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 MenuAnchorPosition { |
+ TOPLEFT_MENU_ANCHOR, |
+ TOPRIGHT_MENU_ANCHOR, |
+ BOTTOMCENTER_MENU_ANCHOR, |
+ BUBBLE_LEFT_MENU_ANCHOR, |
+ BUBBLE_RIGHT_MENU_ANCHOR, |
+ BUBBLE_ABOVE_MENU_ANCHOR, |
+ BUBBLE_BELOW_MENU_ANCHOR |
+}; |
+ |
} // namespace ui |
#endif // UI_BASE_MODELS_MENU_SEPARATOR_TYPES_H_ |