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

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: move isUniqueOriginPotentiallyTrustworthy to .cc 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 e0578dc5fb4b828bc759731c50267e2ef041a896..964b240389dcf6802dc8f7f8e965af17a4b53a70 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -181,6 +181,9 @@ public:
// This frame has been set to enforce strict mixed content checking.
virtual void didEnforceStrictMixedContentChecking() {}
+ // This frame has been navigated to a new |origin|, which is a unique origin that should be considered potentially trustworthy if |isPotentiallyTrustworthyUniqueOrigin| is true.
alexmos 2016/03/14 22:20:36 "has been navigated" doesn't sound correct here, a
estark 2016/03/15 01:04:41 Urgh. I think we should just kill the <meta> sandb
+ virtual void didUpdateOrigin(const WebSecurityOrigin& origin, bool isPotentiallyTrustworthyUniqueOrigin) {}
+
// The sandbox flags have changed for a child frame of this frame.
virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags flags) { }

Powered by Google App Engine
This is Rietveld 408576698