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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 1723753002: Make Document::isSecureContext() work for OOPIFs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more rebase fixups Created 4 years, 9 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/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 4741cd84d86d1c23dae5217c870f54114f3b428e..2beb12e5b62828cc39877cbc6d507fa5dec1e38d 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -182,6 +182,14 @@ public:
// This frame has been set to enforce strict mixed content checking.
virtual void didEnforceStrictMixedContentChecking() {}
+ // This frame has been updated to a unique origin, which should be
+ // considered potentially trustworthy if
+ // |isPotentiallyTrustworthyUniqueOrigin| is true. TODO(estark):
+ // this method only exists to support dynamic sandboxing via a CSP
+ // delivered in a <meta> tag. This is not supposed to be allowed per
+ // the CSP spec and should be ripped out. https://crbug.com/594645
+ virtual void didUpdateToUniqueOrigin(bool isPotentiallyTrustworthyUniqueOrigin) {}
+
// The sandbox flags have changed for a child frame of this frame.
virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags flags) { }
« no previous file with comments | « third_party/WebKit/public/platform/WebSecurityOrigin.h ('k') | third_party/WebKit/public/web/WebRemoteFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698