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 d0e8a47a644323f8a45c7f641caad8447013601b..c7bb4567f049725476c9dde5d721f2d3f8dff0c6 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h |
@@ -84,6 +84,7 @@ class PluginData; |
class ResourceRequest; |
class ScriptController; |
class SpellChecker; |
+class TextSuggestionController; |
class WebFrameScheduler; |
class WebPluginContainerImpl; |
class WebTaskRunner; |
@@ -157,6 +158,7 @@ class CORE_EXPORT LocalFrame final : public Frame, |
NavigationScheduler& GetNavigationScheduler() const; |
FrameSelection& Selection() const; |
InputMethodController& GetInputMethodController() const; |
+ TextSuggestionController& GetTextSuggestionController() const; |
ScriptController& GetScriptController() const; |
SpellChecker& GetSpellChecker() const; |
FrameConsole& Console() const; |
@@ -311,6 +313,7 @@ class CORE_EXPORT LocalFrame final : public Frame, |
const Member<EventHandler> event_handler_; |
const Member<FrameConsole> console_; |
const Member<InputMethodController> input_method_controller_; |
+ const Member<TextSuggestionController> text_suggestion_controller_; |
int navigation_disable_count_; |
@@ -365,6 +368,11 @@ inline InputMethodController& LocalFrame::GetInputMethodController() const { |
return *input_method_controller_; |
} |
+inline TextSuggestionController& LocalFrame::GetTextSuggestionController() |
+ const { |
+ return *text_suggestion_controller_; |
+} |
+ |
inline bool LocalFrame::InViewSourceMode() const { |
return in_view_source_mode_; |
} |