Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(765)

Unified Diff: public/web/WebRemoteFrame.h

Issue 793493003: Prepare to replicate sandbox flags for OOPIF (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Second round of dcheng's comments Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | public/web/WebSandboxFlags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | public/web/WebSandboxFlags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698