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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 2651583007: Plumbing blink::Interface{Provider|Registry} through WebLocalFrame's constructor. (Closed)
Patch Set: Rebasing... Created 3 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
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.h
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.h b/third_party/WebKit/Source/web/WebLocalFrameImpl.h
index 1e48d48f15d0de8bc8d0ad4357bfea4976d9b821..288cee89ad4441bfe0efe1c6285874e646f012df 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.h
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.h
@@ -310,8 +310,12 @@ class WEB_EXPORT WebLocalFrameImpl final
static WebLocalFrameImpl* create(WebTreeScopeType,
WebFrameClient*,
+ blink::InterfaceProvider*,
+ blink::InterfaceRegistry*,
WebFrame* opener);
static WebLocalFrameImpl* createProvisional(WebFrameClient*,
+ blink::InterfaceProvider*,
+ blink::InterfaceRegistry*,
WebRemoteFrame*,
WebSandboxFlags);
~WebLocalFrameImpl() override;
@@ -408,8 +412,14 @@ class WEB_EXPORT WebLocalFrameImpl final
private:
friend class FrameLoaderClientImpl;
- WebLocalFrameImpl(WebTreeScopeType, WebFrameClient*);
- WebLocalFrameImpl(WebRemoteFrame*, WebFrameClient*);
+ WebLocalFrameImpl(WebTreeScopeType,
+ WebFrameClient*,
+ blink::InterfaceProvider*,
+ blink::InterfaceRegistry*);
+ WebLocalFrameImpl(WebRemoteFrame*,
+ WebFrameClient*,
+ blink::InterfaceProvider*,
+ blink::InterfaceRegistry*);
// Inherited from WebFrame, but intentionally hidden: it never makes sense
// to call these on a WebLocalFrameImpl.
@@ -463,6 +473,10 @@ class WEB_EXPORT WebLocalFrameImpl final
IntSize m_inputEventsOffsetForEmulation;
float m_inputEventsScaleFactorForEmulation;
+ // Borrowed pointers to Mojo objects.
+ blink::InterfaceProvider* m_interfaceProvider;
+ blink::InterfaceRegistry* m_interfaceRegistry;
+
WebDevToolsFrontendImpl* m_webDevToolsFrontend;
Member<Node> m_contextMenuNode;
« no previous file with comments | « third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698