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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc

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
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc b/chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc
index e5fc8b891114a331d513dfd96bee19d0a6418a70..9441b76eaeb1c31190a8ee4907d1d52a8fad2f12 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc
@@ -53,7 +53,8 @@ void BookmarkContextMenu::RunMenuAt(const gfx::Point& point) {
if (menu_runner_->RunMenuAt(
parent_widget_, NULL, gfx::Rect(point.x(), point.y(), 0, 0),
views::MenuItemView::TOPLEFT,
- (views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::IS_NESTED)) ==
+ (views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::IS_NESTED |
+ views::MenuRunner::CONTEXT_MENU)) ==
views::MenuRunner::MENU_DELETED)
return;
}
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698