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

Unified Diff: ui/base/models/menu_separator_types.h

Issue 187483005: Extending the Views-on-Mac experiment: whole app list grid. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: still compiles r263560 + crrev/195793005 Created 6 years, 8 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 | « ui/base/dragdrop/os_exchange_data_provider_mac.mm ('k') | ui/base/ui_base.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_provider_mac.mm ('k') | ui/base/ui_base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698