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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2797813002: Replicate feature policy container policies. (Closed)
Patch Set: Addressing review comments Created 3 years, 8 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 | « content/test/test_render_frame_host.cc ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index a81650cfa67862b4e8a53042097245ff0cc0c681..7ca96b55b74ba42ce0af49d812821773e35e79f2 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -631,6 +631,10 @@ class CORE_EXPORT Document : public ContainerNode,
// base URL of parent will be returned, passed base URL override otherwise.
const KURL& BaseURLForOverride(const KURL& base_url_override) const;
+ // Determines whether a new document should take on the same origin as that of
+ // the document which created it.
+ static bool ShouldInheritSecurityOriginFromOwner(const KURL&);
+
String UserAgent() const final;
void DisableEval(const String& error_message) final;
« no previous file with comments | « content/test/test_render_frame_host.cc ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698