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

Unified Diff: Source/web/WebRemoteFrameImpl.h

Issue 1132133009: Plumb whether or not a frame is in shadow DOM to the embedder. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address review comments Created 5 years, 7 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/WebLocalFrameImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebRemoteFrameImpl.h
diff --git a/Source/web/WebRemoteFrameImpl.h b/Source/web/WebRemoteFrameImpl.h
index 92d2723a8970a73c978b16217e62ecd3a93a041c..fac9133b264590963256ecf5c01b8c0187b59d73 100644
--- a/Source/web/WebRemoteFrameImpl.h
+++ b/Source/web/WebRemoteFrameImpl.h
@@ -22,7 +22,7 @@ class RemoteFrame;
class WebRemoteFrameImpl final : public RefCountedWillBeGarbageCollectedFinalized<WebRemoteFrameImpl>, public WebRemoteFrame {
public:
- explicit WebRemoteFrameImpl(WebRemoteFrameClient*);
+ static WebRemoteFrame* create(WebTreeScopeType, WebRemoteFrameClient*);
virtual ~WebRemoteFrameImpl();
// WebRemoteFrame methods.
@@ -169,7 +169,9 @@ public:
virtual WebString layerTreeAsText(bool showDebugInfo = false) const override;
virtual WebLocalFrame* createLocalChild(const WebString& name, WebSandboxFlags, WebFrameClient*, WebFrame* previousSibling) override;
+ virtual WebLocalFrame* createLocalChild(WebTreeScopeType, const WebString& name, WebSandboxFlags, WebFrameClient*, WebFrame* previousSibling) override;
virtual WebRemoteFrame* createRemoteChild(const WebString& name, WebSandboxFlags, WebRemoteFrameClient*) override;
+ virtual WebRemoteFrame* createRemoteChild(WebTreeScopeType, const WebString& name, WebSandboxFlags, WebRemoteFrameClient*) override;
void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name);
@@ -195,6 +197,8 @@ public:
#endif
private:
+ WebRemoteFrameImpl(WebTreeScopeType, WebRemoteFrameClient*);
+
RemoteFrameClientImpl m_frameClient;
RefPtrWillBeMember<RemoteFrame> m_frame;
WebRemoteFrameClient* m_client;
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698