| Index: public/web/WebRemoteFrame.h
|
| diff --git a/public/web/WebRemoteFrame.h b/public/web/WebRemoteFrame.h
|
| index 480b7d6e09b947611053f0dd71947ac4ee860076..c81164e326ce7b282907e10562ecb31bbe2f9b2f 100644
|
| --- a/public/web/WebRemoteFrame.h
|
| +++ b/public/web/WebRemoteFrame.h
|
| @@ -6,6 +6,7 @@
|
| #define WebRemoteFrame_h
|
|
|
| #include "public/web/WebFrame.h"
|
| +#include "public/web/WebSandboxFlags.h"
|
|
|
| namespace blink {
|
|
|
| @@ -16,15 +17,20 @@ class WebRemoteFrame : public WebFrame {
|
| public:
|
| BLINK_EXPORT static WebRemoteFrame* create(WebRemoteFrameClient*);
|
|
|
| + // FIXME(alexmos): This will go away once the Chromium side is updated to pass sandbox flags.
|
| virtual WebLocalFrame* createLocalChild(const WebString& name, WebFrameClient*) = 0;
|
| + virtual WebLocalFrame* createLocalChild(const WebString& name, WebSandboxFlags, WebFrameClient*) = 0;
|
| virtual WebRemoteFrame* createRemoteChild(const WebString& name, WebRemoteFrameClient*) = 0;
|
|
|
| // Transfer initial drawing parameters from a local frame.
|
| virtual void initializeFromFrame(WebLocalFrame*) const = 0;
|
|
|
| - // Set security origin replicated from another process
|
| + // Set security origin replicated from another process.
|
| virtual void setReplicatedOrigin(const WebSecurityOrigin&) const = 0;
|
|
|
| + // Set sandbox flags replicated from another process.
|
| + virtual void setReplicatedSandboxFlags(WebSandboxFlags) const = 0;
|
| +
|
| virtual void didStartLoading() = 0;
|
| virtual void didStopLoading() = 0;
|
| };
|
|
|