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

Unified Diff: ui/views/controls/menu/menu_item_view.h

Issue 10917102: Context menus should appear above the touch point if invoked by long press. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 3 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
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 9b31e1bd8c3eec932ff8a4001c36df4a670e7617..4f33f10ed3282d01ab927247f86d382b354052b2 100644
--- a/ui/views/controls/menu/menu_item_view.h
+++ b/ui/views/controls/menu/menu_item_view.h
@@ -91,7 +91,8 @@ class VIEWS_EXPORT MenuItemView : public View {
// opposite position will be used if base::i18n:IsRTL() is true.
enum AnchorPosition {
TOPLEFT,
- TOPRIGHT
+ TOPRIGHT,
+ BOTTOMCENTER
};
// Where the menu should be drawn, above or below the bounds (when

Powered by Google App Engine
This is Rietveld 408576698