| Index: public/web/WebLocalFrame.h
|
| diff --git a/public/web/WebLocalFrame.h b/public/web/WebLocalFrame.h
|
| index 6b13bc15b19f1fcb57a3c730b23f6707cbb42427..1079e9133c45f444b6a8bcd4e324ba207ea3fb80 100644
|
| --- a/public/web/WebLocalFrame.h
|
| +++ b/public/web/WebLocalFrame.h
|
| @@ -11,6 +11,7 @@ namespace blink {
|
|
|
| enum class WebAppBannerPromptReply;
|
| enum class WebSandboxFlags;
|
| +enum class WebTreeScopeType;
|
| class WebAutofillClient;
|
| class WebContentSettingsClient;
|
| class WebDevToolsAgent;
|
| @@ -28,6 +29,8 @@ class WebLocalFrame : public WebFrame {
|
| public:
|
| // Creates a WebFrame. Delete this WebFrame by calling WebFrame::close().
|
| // It is valid to pass a null client pointer.
|
| + BLINK_EXPORT static WebLocalFrame* create(WebTreeScopeType, WebFrameClient*);
|
| + // TODO(dcheng): Remove this deprecated overload.
|
| BLINK_EXPORT static WebLocalFrame* create(WebFrameClient*);
|
|
|
| // Returns the WebFrame associated with the current V8 context. This
|
| @@ -142,6 +145,9 @@ public:
|
|
|
| // If the provided node is an image, reload the image bypassing the cache.
|
| virtual void reloadImage(const WebNode&) = 0;
|
| +
|
| +protected:
|
| + explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { }
|
| };
|
|
|
| } // namespace blink
|
|
|