| 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 fb15870385883cdc2dd4670bbb7544fa8596c0bd..51d953ec92a97e6597a916694f3e2b5b3ceb0aa9 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.h
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
|
| @@ -58,6 +58,7 @@ class FloatSize;
|
| class FrameConsole;
|
| class FrameSelection;
|
| class FrameView;
|
| +class IdleSpellCheckCallback;
|
| class InputMethodController;
|
| class InstrumentingAgents;
|
| class InterfaceProvider;
|
| @@ -144,6 +145,7 @@ class CORE_EXPORT LocalFrame final : public Frame,
|
| ScriptController& script() const;
|
| SpellChecker& spellChecker() const;
|
| FrameConsole& console() const;
|
| + IdleSpellCheckCallback& idleSpellCheckCallback() const;
|
|
|
| // This method is used to get the highest level LocalFrame in this
|
| // frame's in-process subtree.
|
| @@ -258,6 +260,7 @@ class CORE_EXPORT LocalFrame final : public Frame,
|
| const Member<EventHandler> m_eventHandler;
|
| const Member<FrameConsole> m_console;
|
| const Member<InputMethodController> m_inputMethodController;
|
| + const Member<IdleSpellCheckCallback> m_idleSpellCheckCallback;
|
|
|
| int m_navigationDisableCount;
|
|
|
| @@ -327,6 +330,11 @@ inline EventHandler& LocalFrame::eventHandler() const {
|
| return *m_eventHandler;
|
| }
|
|
|
| +inline IdleSpellCheckCallback& LocalFrame::idleSpellCheckCallback() const {
|
| + DCHECK(m_idleSpellCheckCallback);
|
| + return *m_idleSpellCheckCallback;
|
| +}
|
| +
|
| DEFINE_TYPE_CASTS(LocalFrame,
|
| Frame,
|
| localFrame,
|
|
|