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

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

Issue 2009453002: service worker: Don't control a subframe of an insecure context (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cover plznavigation case too Created 4 years, 7 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/WebFrame.h
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h
index c1245a3a29cbdadc5f4acae6e8bfe43e48bee058..a4533bec18339b6dc1077cb9c2f17cc0c5ce0c13 100644
--- a/third_party/WebKit/public/web/WebFrame.h
+++ b/third_party/WebKit/public/web/WebFrame.h
@@ -552,6 +552,7 @@ public:
// Returns the frame inside a given frame or iframe element. Returns 0 if
// the given element is not a frame, iframe or if the frame is empty.
BLINK_EXPORT static WebFrame* fromFrameOwnerElement(const WebElement&);
+ BLINK_EXPORT bool canHaveSecureChild(WebString& errorMessage) const;
alexmos 2016/05/26 22:13:35 Do we need both this and WebDocument::isSecureCont
falken 2016/05/27 05:47:04 I think there's two problems there: 1) isSecureCon
alexmos 2016/05/27 22:44:30 Yeah, I'm curious if the plugin case cares about s
raymes 2016/05/30 01:08:08 The plugin case is just for metrics - we were just
#if BLINK_IMPLEMENTATION
static WebFrame* fromFrame(Frame*);
« third_party/WebKit/Source/web/WebFrame.cpp ('K') | « third_party/WebKit/Source/web/WebFrame.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698