Chromium Code Reviews| Index: third_party/WebKit/Source/web/WebFrame.cpp |
| diff --git a/third_party/WebKit/Source/web/WebFrame.cpp b/third_party/WebKit/Source/web/WebFrame.cpp |
| index 1c4b5b4cce46d5568969978b2dec78a3d8687ee9..607a2e454e2fa36af4830e0503abe7b2c940d9e5 100644 |
| --- a/third_party/WebKit/Source/web/WebFrame.cpp |
| +++ b/third_party/WebKit/Source/web/WebFrame.cpp |
| @@ -285,6 +285,16 @@ WebFrame* WebFrame::fromFrameOwnerElement(const WebElement& webElement) |
| return fromFrame(toHTMLFrameOwnerElement(element)->contentFrame()); |
| } |
| +bool WebFrame::canHaveSecureChild() const |
| +{ |
| + Frame* frame = toImplBase()->frame(); |
| + if (!frame) |
| + return false; |
| + String message; |
| + bool result = frame->canHaveSecureChild(&message); |
| + return result; |
|
horo
2016/06/03 09:54:45
nit: we don't need `result` variable.
falken
2016/06/03 12:10:45
Done.
|
| +} |
| + |
| bool WebFrame::isLoading() const |
| { |
| if (Frame* frame = toImplBase()->frame()) |