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

Unified Diff: third_party/WebKit/Source/web/WebInputMethodControllerImpl.h

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Created 3 years, 11 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/web/WebInputMethodControllerImpl.h
diff --git a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
index 076933575cab1f0a234a654b645ede49cbb36acb..4f69ff5dba461011609e390691056dd81c5745e4 100644
--- a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
+++ b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
@@ -36,8 +36,14 @@ class WebInputMethodControllerImpl : public WebInputMethodController {
int relativeCaretPosition) override;
bool finishComposingText(
ConfirmCompositionBehavior selectionBehavior) override;
+ void applySuggestionReplacement(int documentMarkerID,
+ int suggestionIndex) override;
+ void deleteSuggestionHighlight() override;
+ void closeSuggestionMenu() override;
WebTextInputInfo textInputInfo() override;
WebTextInputType textInputType() override;
+ WebVector<WebTextSuggestionInfo> getTextSuggestionInfosUnderCaret() override;
+ void prepareForTextSuggestionMenuToBeShown() override;
void setSuppressNextKeypressEvent(bool suppress) {
m_suppressNextKeypressEvent = suppress;

Powered by Google App Engine
This is Rietveld 408576698