diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-04 23:26:14 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-04 23:26:14 +0000 |
commit | b4677d1f8bb717220ab3231f698af10142dc0815 (patch) | |
tree | 1a673eb1206f9c16f9335271244a0cef72fa11a7 | |
parent | 4bfc560b5779536c900fb20844dde6e68d45e0ab (diff) | |
download | chromium_src-b4677d1f8bb717220ab3231f698af10142dc0815.zip chromium_src-b4677d1f8bb717220ab3231f698af10142dc0815.tar.gz chromium_src-b4677d1f8bb717220ab3231f698af10142dc0815.tar.bz2 |
Correctly enable the Copy item on the popup window omnibox context menu. Original patch by Thiago Farina (see http://codereview.chromium.org/522031), r=finnur,me.
BUG=29092
TEST=Select some text in a popup window omnibox, then right-click it. "Copy" should be enabled.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35492 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc index 7ee0b0f..14ea78f 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc +++ b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc @@ -2411,7 +2411,7 @@ void AutocompleteEditViewWin::BuildContextMenu() { context_menu_contents_.reset(new menus::SimpleMenuModel(this)); // Set up context menu. if (popup_window_mode_) { - context_menu_contents_->AddItemWithStringId(IDS_COPY, IDS_COPY); + context_menu_contents_->AddItemWithStringId(IDC_COPY, IDS_COPY); } else { context_menu_contents_->AddItemWithStringId(IDS_UNDO, IDS_UNDO); context_menu_contents_->AddSeparator(); |