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 e8e5ea2b85429e8974668af9d605681b396d144b..1e3990ea2c83cd1666e215e1922cf7050813336c 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h |
@@ -79,6 +79,7 @@ class PositionWithAffinityTemplate; |
class PluginData; |
class ScriptController; |
class SpellChecker; |
+class TextSuggestionController; |
class WebFrameScheduler; |
extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<LocalFrame>; |
@@ -146,6 +147,7 @@ class CORE_EXPORT LocalFrame final : public Frame, |
NavigationScheduler& navigationScheduler() const; |
FrameSelection& selection() const; |
InputMethodController& inputMethodController() const; |
+ TextSuggestionController& textSuggestionController() const; |
ScriptController& script() const; |
SpellChecker& spellChecker() const; |
FrameConsole& console() const; |
@@ -269,6 +271,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<TextSuggestionController> m_textSuggestionController; |
int m_navigationDisableCount; |
@@ -321,6 +324,10 @@ inline InputMethodController& LocalFrame::inputMethodController() const { |
return *m_inputMethodController; |
} |
+inline TextSuggestionController& LocalFrame::textSuggestionController() const { |
+ return *m_textSuggestionController; |
+} |
+ |
inline bool LocalFrame::inViewSourceMode() const { |
return m_inViewSourceMode; |
} |