diff options
author | jcivelli@google.com <jcivelli@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-12 17:38:10 +0000 |
---|---|---|
committer | jcivelli@google.com <jcivelli@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-12 17:38:10 +0000 |
commit | 1c57b7b3f5bfe15eeea1fb9023a86b30cba5a2be (patch) | |
tree | 8629f2d46895e84f3bab409ce2ae99d59557309d /chrome/common | |
parent | 310c28a1848fbf047162eccf96c8b9528be6ac83 (diff) | |
download | chromium_src-1c57b7b3f5bfe15eeea1fb9023a86b30cba5a2be.zip chromium_src-1c57b7b3f5bfe15eeea1fb9023a86b30cba5a2be.tar.gz chromium_src-1c57b7b3f5bfe15eeea1fb9023a86b30cba5a2be.tar.bz2 |
Don't offer to translate pages if the page says so by
using the magic Google meta-tag.
BUG=48606
TEST=See bug.
Review URL: http://codereview.chromium.org/2960001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52097 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/render_messages_internal.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 0b8e903..5fc758f 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -1299,11 +1299,12 @@ IPC_BEGIN_MESSAGES(ViewHost) std::wstring /* out - prompt field */) // Provides the contents for the given page that was loaded recently. - IPC_MESSAGE_ROUTED4(ViewHostMsg_PageContents, + IPC_MESSAGE_ROUTED5(ViewHostMsg_PageContents, GURL /* URL of the page */, int32 /* page id */, string16 /* page contents */, - std::string /* page ISO639_1 language code */) + std::string /* page ISO639_1 language code */, + bool /* whether the page can be translated */) // Used to get the extension message bundle. IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetExtensionMessageBundle, |