Chromium Code Reviews| Index: public/web/WebFrameClient.h |
| diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h |
| index 62641d2a76f6e397b5b148989bc3f621fb8c0ce5..fd2c118fa9d933563b153c31cf73aba0edbe4b5f 100644 |
| --- a/public/web/WebFrameClient.h |
| +++ b/public/web/WebFrameClient.h |
| @@ -41,6 +41,7 @@ |
| #include "WebIconURL.h" |
| #include "WebNavigationPolicy.h" |
| #include "WebNavigationType.h" |
| +#include "WebSandboxFlags.h" |
| #include "WebSecurityOrigin.h" |
| #include "WebTextDirection.h" |
| #include "public/platform/WebCommon.h" |
| @@ -149,7 +150,7 @@ public: |
| // until frameDetached() is called on it. |
| // Note: If you override this, you should almost certainly be overriding |
| // frameDetached(). |
| - virtual WebFrame* createChildFrame(WebLocalFrame* parent, const WebString& frameName) { return 0; } |
| + virtual WebFrame* createChildFrame(WebLocalFrame* parent, const WebString& frameName, WebSandboxFlags sandboxFlags) { return 0; } |
|
dcheng
2015/01/16 19:11:19
s/0/nullptr since we're changing this
alexmos
2015/01/17 02:54:42
Done.
|
| // This frame set its opener to null, disowning it. |
| // See http://html.spec.whatwg.org/#dom-opener. |