From b1b945e8f3586a8d08acc9e7d29b4efe99606373 Mon Sep 17 00:00:00 2001 From: "sky@google.com" Date: Mon, 22 Sep 2008 17:21:04 +0000 Subject: 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 --- chrome/browser/bookmark_bar_context_menu_controller.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/bookmark_bar_context_menu_controller.cc') 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); -- cgit v1.1