summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-01 02:49:07 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-01 02:49:07 +0000
commitb252972a2c680149da1f2c77768c3eea4bee6823 (patch)
tree365de6a5e004926f80d0228795a50abac29ed837 /chrome_frame
parentaf37009400176c2879bc4caaf2e42d25afab0d7f (diff)
downloadchromium_src-b252972a2c680149da1f2c77768c3eea4bee6823.zip
chromium_src-b252972a2c680149da1f2c77768c3eea4bee6823.tar.gz
chromium_src-b252972a2c680149da1f2c77768c3eea4bee6823.tar.bz2
The View->Source menu item in the IE9 menu bar is disabled for ChromeFrame pages. This CL
fixes that. We need to enable the MSHTML command id IDM_VIEWSOURCE Fixes bug http://code.google.com/p/chromium/issues/detail?id=64857 BUG=64857 TEST=Launch IE9 and observe that the View->Source menu item is enabled on chrome frame pages. Review URL: http://codereview.chromium.org/5367011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67806 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/chrome_active_document.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc
index 1c62a7f..6000505 100644
--- a/chrome_frame/chrome_active_document.cc
+++ b/chrome_frame/chrome_active_document.cc
@@ -111,6 +111,7 @@ HRESULT ChromeActiveDocument::FinalConstruct() {
mshtml_group_commands_map_[IDM_BASELINEFONT3] = flags;
mshtml_group_commands_map_[IDM_BASELINEFONT4] = flags;
mshtml_group_commands_map_[IDM_BASELINEFONT5] = flags;
+ mshtml_group_commands_map_[IDM_VIEWSOURCE] = flags;
HMODULE this_module = reinterpret_cast<HMODULE>(&__ImageBase);
accelerator_table_ =
@@ -1348,4 +1349,3 @@ bool ChromeActiveDocument::IsNewNavigation(
return false;
}
-