diff options
author | jnd@chromium.org <jnd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-01 01:53:19 +0000 |
---|---|---|
committer | jnd@chromium.org <jnd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-01 01:53:19 +0000 |
commit | 2f2afba1c5f04e5f83d7c62873bef8a0d166f291 (patch) | |
tree | b40f104b3b8d90268d27a53751ff29c7d68c413e /chrome/browser/automation/chrome_frame_automation_provider.cc | |
parent | 565a83eb237b0f746f1924901352ae4c8e75f1a4 (diff) | |
download | chromium_src-2f2afba1c5f04e5f83d7c62873bef8a0d166f291.zip chromium_src-2f2afba1c5f04e5f83d7c62873bef8a0d166f291.tar.gz chromium_src-2f2afba1c5f04e5f83d7c62873bef8a0d166f291.tar.bz2 |
Add encoding override support for Chrome frame. With this change, users can override current page encoding in Chrome Frame via clicking IE's encoding menu.
Unfortunately this change does not work on IE8 since the encoding menu is off on IE8.
This change was from http://codereview.chromium.org/460036/show, which was on a temporary machine which I can not access from China now. I will re-create the patch, make some modifications according to previous reviewers' comments. now I send to you for review.
BUG=24040
TEST=none
Review URL: http://codereview.chromium.org/1530012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43306 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/chrome_frame_automation_provider.cc')
-rw-r--r-- | chrome/browser/automation/chrome_frame_automation_provider.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/automation/chrome_frame_automation_provider.cc b/chrome/browser/automation/chrome_frame_automation_provider.cc index 9aa403d..112f2fc 100644 --- a/chrome/browser/automation/chrome_frame_automation_provider.cc +++ b/chrome/browser/automation/chrome_frame_automation_provider.cc @@ -63,7 +63,8 @@ bool ChromeFrameAutomationProvider::IsValidMessage(uint32 type) { case AutomationMsg_RequestData::ID: case AutomationMsg_RequestEnd::ID: case AutomationMsg_SaveAsAsync::ID: - case AutomationMsg_RemoveBrowsingData::ID: { + case AutomationMsg_RemoveBrowsingData::ID: + case AutomationMsg_OverrideEncoding::ID: { is_valid_message = true; break; } |