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

Unified Diff: Source/core/html/HTMLIFrameElement.h

Issue 1328183002: Implement referrerpolicy attr for iframes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: move referrerpolicy retrieval to subclass Created 5 years, 3 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
Index: Source/core/html/HTMLIFrameElement.h
diff --git a/Source/core/html/HTMLIFrameElement.h b/Source/core/html/HTMLIFrameElement.h
index fcb6b4859ef026f8539d5c517cc25043e97d6a0d..2ba0dbda73c8a6bc643845cfd7475048bcfa3b7b 100644
--- a/Source/core/html/HTMLIFrameElement.h
+++ b/Source/core/html/HTMLIFrameElement.h
@@ -26,6 +26,7 @@
#include "core/dom/DOMSettableTokenList.h"
#include "core/html/HTMLFrameElementBase.h"
+#include "platform/weborigin/SecurityPolicy.h"
namespace blink {
@@ -58,9 +59,13 @@ private:
void valueChanged() override;
+ bool referrerPolicyAttribute(ReferrerPolicy*) override;
+
AtomicString m_name;
bool m_didLoadNonEmptyDocument;
RefPtrWillBeMember<DOMSettableTokenList> m_sandbox;
+
+ ReferrerPolicy m_referrerPolicy;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698