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

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

Issue 1328183002: Implement referrerpolicy attr for iframes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update webexposed tests 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/HTMLFrameOwnerElement.h
diff --git a/Source/core/html/HTMLFrameOwnerElement.h b/Source/core/html/HTMLFrameOwnerElement.h
index 87ad3856ec50b56c797c85a6dd4ef71339d38373..f0236a61cdf5a2dde0c7aeb34f669f7818437433 100644
--- a/Source/core/html/HTMLFrameOwnerElement.h
+++ b/Source/core/html/HTMLFrameOwnerElement.h
@@ -27,6 +27,7 @@
#include "core/html/HTMLElement.h"
#include "platform/heap/Handle.h"
#include "platform/scroll/ScrollTypes.h"
+#include "platform/weborigin/SecurityPolicy.h"
#include "wtf/HashCountedSet.h"
namespace blink {
@@ -94,6 +95,8 @@ private:
bool isKeyboardFocusable() const override;
bool isFrameOwnerElement() const final { return true; }
+ virtual ReferrerPolicy referrerPolicyAttribute() { return ReferrerPolicyDefault; }
+
RawPtrWillBeMember<Frame> m_contentFrame;
RefPtrWillBeMember<Widget> m_widget;
SandboxFlags m_sandboxFlags;
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | Source/core/html/HTMLFrameOwnerElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698