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

Unified Diff: public/web/WebFrame.h

Issue 520213002: Make SecurityContext available in RemoteFrames. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review feedback from Daniel, expose securityOrigin() from WebFrame Created 6 years, 1 month 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: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index 902499906cabc9450a81c709bdfb11f3c51ad3d0..3064e8caae29301cb014db21323ab24e48bb49ee 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -155,6 +155,9 @@ public:
virtual void setPermissionClient(WebPermissionClient*) = 0;
virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient*) = 0;
+ // The security origin of this frame.
+ virtual WebSecurityOrigin securityOrigin() const = 0;
dcheng 2014/11/18 23:31:40 Do we need to call this on remote frames? If not,
alexmos 2014/11/19 00:33:04 My RenderView test (see *.OriginReplicationForSwap
+
// Geometry -----------------------------------------------------------
// NOTE: These routines do not force page layout so their results may

Powered by Google App Engine
This is Rietveld 408576698