summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r--chrome/renderer/render_view.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index ea515b4..71b8693 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -103,6 +103,7 @@ class WebAccessibilityCache;
class WebApplicationCacheHost;
class WebApplicationCacheHostClient;
class WebDataSource;
+class WebDocument;
class WebDragData;
class WebGeolocationServiceInterface;
class WebImage;
@@ -933,6 +934,11 @@ class RenderView : public RenderWidget,
// If |only_visible| is true, only forms visible in the layout are sent
void SendPasswordForms(WebKit::WebFrame* frame, bool only_visible);
+ // Returns whether the page associated with |document| is a candidate for
+ // translation. Some pages can explictly specify (via a meta-tag) that they
+ // should not be translated.
+ bool IsPageTranslatable(WebKit::WebDocument* document);
+
// Starts nav_state_sync_timer_ if it isn't already running.
void StartNavStateSyncTimerIfNecessary();