summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmark_bar_context_menu_controller.cc
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-22 17:21:04 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-22 17:21:04 +0000
commitb1b945e8f3586a8d08acc9e7d29b4efe99606373 (patch)
tree6d9a280621bb7d55b641b787f887b31503d91dd6 /chrome/browser/bookmark_bar_context_menu_controller.cc
parent0f8a6b4de386b469859f6cd12c0ba091453c9a4d (diff)
downloadchromium_src-b1b945e8f3586a8d08acc9e7d29b4efe99606373.zip
chromium_src-b1b945e8f3586a8d08acc9e7d29b4efe99606373.tar.gz
chromium_src-b1b945e8f3586a8d08acc9e7d29b4efe99606373.tar.bz2
Fixes mnemonic bug in chrome menus. After this change you can indicate
whether menus have mnemonics. Mnemonics are shown if the menus have mnemonics, and the OS says we should show them. BUG=1355952 TEST=add a bookmark and change the title to &foo. Move the bookmark to a folder, click on the folder and make sure the title shows the &. Review URL: http://codereview.chromium.org/4002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmark_bar_context_menu_controller.cc')
-rw-r--r--chrome/browser/bookmark_bar_context_menu_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/bookmark_bar_context_menu_controller.cc b/chrome/browser/bookmark_bar_context_menu_controller.cc
index cb195ef..8bce486 100644
--- a/chrome/browser/bookmark_bar_context_menu_controller.cc
+++ b/chrome/browser/bookmark_bar_context_menu_controller.cc
@@ -237,7 +237,7 @@ void BookmarkBarContextMenuController::RunMenuAt(int x, int y) {
// width/height don't matter here.
menu_.RunMenuAt(view_->GetViewContainer()->GetHWND(), gfx::Rect(x, y, 0, 0),
- ChromeViews::MenuItemView::TOPLEFT, false);
+ ChromeViews::MenuItemView::TOPLEFT, true);
if (view_->GetModelChangedListener() == this)
view_->SetModelChangedListener(last_listener);