Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.h

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Uploading the latest version from my repo so I can reference it Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698