Chromium Code Reviews| 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 5f274e82dce30ae1a338a1b2157b0bb956726ca4..ffdc915e996a05cd0c630c69fb9899db54c03c4e 100644 |
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.h |
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.h |
| @@ -227,6 +227,13 @@ class CORE_EXPORT LocalFrame final : public Frame, |
|
sashab
2017/03/29 00:33:23
In CL description: removed -> remove
slangley
2017/03/29 02:27:08
Done
|
| PerformanceMonitor* performanceMonitor() { return m_performanceMonitor; } |
| + using frame_init_callback = void (*)(LocalFrame*); |
| + // Allows for the registration of a callback that is invoked whenever a new |
| + // LocalFrame is initilized. Callbacks are executed in the order that they |
| + // were added using registerInitializationCallback, and there is no checks |
|
sashab
2017/03/29 00:33:23
is -> are
slangley
2017/03/29 02:27:08
Done
|
| + // for adding a callback multiple times. |
| + static void registerInitializationCallback(frame_init_callback); |
| + |
| private: |
| friend class FrameNavigationDisabler; |
| @@ -277,10 +284,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; |
| } |