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

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

Issue 2657623005: WIP: Give developers an opt-in mechanism to block some parser-inserted scripts.
Patch Set: Refactor. Created 3 years, 11 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: third_party/WebKit/Source/core/html/HTMLIFrameElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElement.h b/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
index 4ac5c084e15475378c0416bf4431ce835e5a437f..1a607d554984618bde0a3e0b92e724c07a5835f6 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
@@ -48,6 +48,7 @@ class CORE_EXPORT HTMLIFrameElement final
DOMTokenList* sandbox() const;
DOMTokenList* permissions() const;
bool createdByFragmentParser() const { return m_createdByFragmentParser; }
+ bool createdByDocumentWrite() const { return m_createdByDocumentWrite; }
void sandboxValueWasSet();
void permissionsValueWasSet();
@@ -91,6 +92,7 @@ class CORE_EXPORT HTMLIFrameElement final
bool m_allowFullscreen;
bool m_allowPaymentRequest;
const bool m_createdByFragmentParser;
+ const bool m_createdByDocumentWrite;
Member<HTMLIFrameElementSandbox> m_sandbox;
Member<HTMLIFrameElementPermissions> m_permissions;

Powered by Google App Engine
This is Rietveld 408576698