Index: third_party/WebKit/Source/core/frame/Frame.h |
diff --git a/third_party/WebKit/Source/core/frame/Frame.h b/third_party/WebKit/Source/core/frame/Frame.h |
index 423e8824724299e26da638564f437a9c5d755cea..698e71af8f16cbe6eee3427baa2ba1bdcc977de5 100644 |
--- a/third_party/WebKit/Source/core/frame/Frame.h |
+++ b/third_party/WebKit/Source/core/frame/Frame.h |
@@ -136,6 +136,15 @@ public: |
virtual void didChangeVisibilityState(); |
+ // Use Document::isSecureContext() instead of this function to |
+ // check whether this frame's document is a secure context. |
+ // |
+ // Returns whether it's possible for a document whose frame is a descendant |
+ // of this frame to be a secure context, not considering scheme exceptions |
+ // (since any document can be a secure context if it has a scheme |
+ // exception). See Document::isSecureContextImpl for more details. |
+ bool canHaveSecureChild() const; |
+ |
protected: |
Frame(FrameClient*, FrameHost*, FrameOwner*); |