diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-22 17:21:04 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-22 17:21:04 +0000 |
commit | b1b945e8f3586a8d08acc9e7d29b4efe99606373 (patch) | |
tree | 6d9a280621bb7d55b641b787f887b31503d91dd6 /chrome/browser/views/tabs/tab.cc | |
parent | 0f8a6b4de386b469859f6cd12c0ba091453c9a4d (diff) | |
download | chromium_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/views/tabs/tab.cc')
-rw-r--r-- | chrome/browser/views/tabs/tab.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/tabs/tab.cc b/chrome/browser/views/tabs/tab.cc index 82bb795..8a283bf 100644 --- a/chrome/browser/views/tabs/tab.cc +++ b/chrome/browser/views/tabs/tab.cc @@ -54,7 +54,7 @@ class TabContextMenuController : public ChromeViews::MenuDelegate { void RunMenuAt(int x, int y) { menu_->RunMenuAt(tab_->GetViewContainer()->GetHWND(), gfx::Rect(x, y, 0, 0), ChromeViews::MenuItemView::TOPLEFT, - false); + true); } private: |