summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_view_host.h
diff options
context:
space:
mode:
authorjcivelli@google.com <jcivelli@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 17:38:10 +0000
committerjcivelli@google.com <jcivelli@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 17:38:10 +0000
commit1c57b7b3f5bfe15eeea1fb9023a86b30cba5a2be (patch)
tree8629f2d46895e84f3bab409ce2ae99d59557309d /chrome/browser/renderer_host/render_view_host.h
parent310c28a1848fbf047162eccf96c8b9528be6ac83 (diff)
downloadchromium_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/browser/renderer_host/render_view_host.h')
-rw-r--r--chrome/browser/renderer_host/render_view_host.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h
index e1073ec..aa66275 100644
--- a/chrome/browser/renderer_host/render_view_host.h
+++ b/chrome/browser/renderer_host/render_view_host.h
@@ -631,7 +631,8 @@ class RenderViewHost : public RenderWidgetHost {
void OnPageContents(const GURL& url,
int32 page_id,
const string16& contents,
- const std::string& language);
+ const std::string& language,
+ bool page_translatable);
void OnPageTranslated(int32 page_id,
const std::string& original_lang,
const std::string& translated_lang,