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

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

Issue 10832360: Change to address default selection of menu item (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: type check Created 8 years, 4 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_config.h
diff --git a/ui/views/controls/menu/menu_config.h b/ui/views/controls/menu/menu_config.h
index 7cfd5c0c24fea5efa7b023aaecc17e6bdea9e96a..cce8673d2512c212b2e31430dbbe7e5a07f1cff2 100644
--- a/ui/views/controls/menu/menu_config.h
+++ b/ui/views/controls/menu/menu_config.h
@@ -110,6 +110,9 @@ struct VIEWS_EXPORT MenuConfig {
// True if submenu arrow and shortcut right edge should be aligned.
bool align_arrow_and_shortcut;
+ // True if the context menu's should be offset from the cursor position.
+ bool offset_context_menus;
+
private:
// Creates and configures a new MenuConfig as appropriate for the current
// platform.
« no previous file with comments | « chrome/browser/ui/views/tab_contents/render_view_context_menu_views.cc ('k') | ui/views/controls/menu/menu_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698