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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.h

Issue 2401333002: Add a blink InterfaceRegistry. (Closed)
Patch Set: Created 4 years, 2 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 | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/LocalFrame.h
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h
index 3c1b9143e3451afbc46ed08417c2ac5e6f288838..0723873e66894f10540509984d738af6a46d700a 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
@@ -61,6 +61,7 @@ class FrameView;
class HTMLPlugInElement;
class InputMethodController;
class InterfaceProvider;
+class InterfaceRegistry;
class IntPoint;
class IntSize;
class InstrumentingAgents;
@@ -90,7 +91,8 @@ class CORE_EXPORT LocalFrame final : public Frame,
static LocalFrame* create(FrameLoaderClient*,
FrameHost*,
FrameOwner*,
- InterfaceProvider* = nullptr);
+ InterfaceProvider* = nullptr,
+ InterfaceRegistry* = nullptr);
void init();
void setView(FrameView*);
@@ -213,6 +215,7 @@ class CORE_EXPORT LocalFrame final : public Frame,
bool isNavigationAllowed() const { return m_navigationDisableCount == 0; }
InterfaceProvider* interfaceProvider() { return m_interfaceProvider; }
+ InterfaceRegistry* interfaceRegistry() { return m_interfaceRegistry; }
FrameLoaderClient* client() const;
@@ -221,7 +224,11 @@ class CORE_EXPORT LocalFrame final : public Frame,
private:
friend class FrameNavigationDisabler;
- LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*, InterfaceProvider*);
+ LocalFrame(FrameLoaderClient*,
+ FrameHost*,
+ FrameOwner*,
+ InterfaceProvider*,
+ InterfaceRegistry*);
// Internal Frame helper overrides:
WindowProxyManager* getWindowProxyManager() const override;
@@ -261,6 +268,7 @@ class CORE_EXPORT LocalFrame final : public Frame,
Member<InstrumentingAgents> m_instrumentingAgents;
InterfaceProvider* const m_interfaceProvider;
+ InterfaceRegistry* const m_interfaceRegistry;
};
inline void LocalFrame::init() {
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698