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

Unified Diff: Source/web/WebDocument.cpp

Issue 1289343006: Expose outgoingReferrer() to WebDocument. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months 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
« no previous file with comments | « no previous file | public/web/WebDocument.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDocument.cpp
diff --git a/Source/web/WebDocument.cpp b/Source/web/WebDocument.cpp
index dc899fb9b06843f57e4fc89072b290d6a044afd4..df873f521ffa16da14de5ec64ed4df519b1c0d8c 100644
--- a/Source/web/WebDocument.cpp
+++ b/Source/web/WebDocument.cpp
@@ -262,6 +262,11 @@ WebReferrerPolicy WebDocument::referrerPolicy() const
return static_cast<WebReferrerPolicy>(constUnwrap<Document>()->referrerPolicy());
}
+WebString WebDocument::outgoingReferrer()
+{
+ return WebString(unwrap<Document>()->outgoingReferrer());
Mike West 2015/08/20 20:07:25 Nit: Can this be `constUnwrap`?
+}
+
WebElement WebDocument::createElement(const WebString& tagName)
{
TrackExceptionState exceptionState;
« no previous file with comments | « no previous file | public/web/WebDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698