| 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 a0a12f6489432f7551d1081512c52c2dfd8a6752..312fa068d07ada42e17b91d164d46c885a365b8c 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.h
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
|
| @@ -225,6 +225,13 @@ class CORE_EXPORT LocalFrame final : public Frame,
|
|
|
| PerformanceMonitor* performanceMonitor() { return m_performanceMonitor; }
|
|
|
| + using FrameInitCallback = void (*)(LocalFrame*);
|
| + // Allows for the registration of a callback that is invoked whenever a new
|
| + // LocalFrame is initialized. Callbacks are executed in the order that they
|
| + // were added using registerInitializationCallback, and there are no checks
|
| + // for adding a callback multiple times.
|
| + static void registerInitializationCallback(FrameInitCallback);
|
| +
|
| private:
|
| friend class FrameNavigationDisabler;
|
|
|
| @@ -275,10 +282,6 @@ class CORE_EXPORT LocalFrame final : public Frame,
|
| InterfaceRegistry* const m_interfaceRegistry;
|
| };
|
|
|
| -inline void LocalFrame::init() {
|
| - m_loader.init();
|
| -}
|
| -
|
| inline FrameLoader& LocalFrame::loader() const {
|
| return m_loader;
|
| }
|
|
|