| 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 121067b357c1273235e7b42cb559f7c136458313..52c488bd0a7c8b14f70c5e8272b708c65c5dcbdb 100644
|
| --- a/third_party/WebKit/public/web/WebFrame.h
|
| +++ b/third_party/WebKit/public/web/WebFrame.h
|
| @@ -556,6 +556,15 @@ public:
|
| // the given element is not a frame, iframe or if the frame is empty.
|
| BLINK_EXPORT static WebFrame* fromFrameOwnerElement(const WebElement&);
|
|
|
| + // Use WebDocument::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.
|
| + BLINK_EXPORT bool canHaveSecureChild() const;
|
| +
|
| #if BLINK_IMPLEMENTATION
|
| static WebFrame* fromFrame(Frame*);
|
|
|
|
|