summaryrefslogtreecommitdiffstats
path: root/webkit/glue/dom_operations.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 /webkit/glue/dom_operations.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 'webkit/glue/dom_operations.h')
-rw-r--r--webkit/glue/dom_operations.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/glue/dom_operations.h b/webkit/glue/dom_operations.h
index 4741bce..b8915be 100644
--- a/webkit/glue/dom_operations.h
+++ b/webkit/glue/dom_operations.h
@@ -129,6 +129,12 @@ int NumberOfActiveAnimations(WebKit::WebView* view);
WebKit::WebString GetSubResourceLinkFromElement(
const WebKit::WebElement& element);
+// Puts the meta-elements of |document| that have the specified |name| in
+// |meta_elements|.
+void GetMetaElementsWithName(WebKit::WebDocument* document,
+ const string16& name,
+ std::vector<WebKit::WebElement>* meta_elements);
+
} // namespace webkit_glue
#endif // WEBKIT_GLUE_DOM_OPERATIONS_H__