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

Unified Diff: third_party/WebKit/public/web/WebLocalFrame.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
« no previous file with comments | « third_party/WebKit/public/web/WebFrameClient.h ('k') | third_party/WebKit/public/web/WebRemoteFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index f050d490dd9197213ed04c824bd90ff9fcd62161..54816f8813ebe9f0b9c5e5284a7f9ff0fc79e508 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -19,6 +19,8 @@ class SingleThreadTaskRunner;
namespace blink {
+class InterfaceProvider;
+class InterfaceRegistry;
class WebAutofillClient;
class WebContentSettingsClient;
class WebDevToolsAgent;
@@ -46,6 +48,8 @@ class WebLocalFrame : public WebFrame {
// WebFrameClient may not be null.
BLINK_EXPORT static WebLocalFrame* create(WebTreeScopeType,
WebFrameClient*,
+ blink::InterfaceProvider*,
+ blink::InterfaceRegistry*,
WebFrame* opener = nullptr);
// Used to create a provisional local frame. Currently, it's possible for a
@@ -65,9 +69,12 @@ class WebLocalFrame : public WebFrame {
//
// Otherwise, if the load should not commit, call detach() to discard the
// frame.
- BLINK_EXPORT static WebLocalFrame* createProvisional(WebFrameClient*,
- WebRemoteFrame*,
- WebSandboxFlags);
+ BLINK_EXPORT static WebLocalFrame* createProvisional(
+ WebFrameClient*,
+ blink::InterfaceProvider*,
+ blink::InterfaceRegistry*,
+ WebRemoteFrame*,
+ WebSandboxFlags);
// Returns the WebFrame associated with the current V8 context. This
// function can return 0 if the context is associated with a Document that
« no previous file with comments | « third_party/WebKit/public/web/WebFrameClient.h ('k') | third_party/WebKit/public/web/WebRemoteFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698