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 a0435f267707bbb6ec6879d5f1906d2200954a3a..3f1ab06b2d1b755a2403fcc89ae3ea16fead2ef6 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h |
@@ -81,6 +81,7 @@ class PositionWithAffinityTemplate; |
class PluginData; |
class ScriptController; |
class SpellChecker; |
+class TextSuggestionController; |
class WebFrameScheduler; |
class WebPluginContainerBase; |
class WebURLLoader; |
@@ -153,6 +154,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; |
@@ -310,6 +312,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_; |
} |