Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(971)

Unified Diff: third_party/WebKit/Source/web/WebDocument.cpp

Issue 2577203002: Remove use of WebNode/WebElement in translate_helper (Closed)
Patch Set: Minor changes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebDocument.cpp
diff --git a/third_party/WebKit/Source/web/WebDocument.cpp b/third_party/WebKit/Source/web/WebDocument.cpp
index 26f088f28b54f3237bcfe5ef412fc80c929e0bd1..593b3763fe3501a8b0fc976dab535fcae4d77ffb 100644
--- a/third_party/WebKit/Source/web/WebDocument.cpp
+++ b/third_party/WebKit/Source/web/WebDocument.cpp
@@ -92,6 +92,14 @@ WebString WebDocument::contentLanguage() const {
return constUnwrap<Document>()->contentLanguage();
}
+WebString WebDocument::documentLanguage() const {
+ return constUnwrap<Document>()->documentLanguage();
+}
+
+WebVector<WebString> WebDocument::getMetaValues(WebString name) const {
+ return constUnwrap<Document>()->getMetaValues(name);
+}
+
WebString WebDocument::referrer() const {
return constUnwrap<Document>()->referrer();
}

Powered by Google App Engine
This is Rietveld 408576698