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

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

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Remove logging statements, fix copyright years in new files 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..39e10c06886b5c51e3675d2a9e95edd0daa7c4ad 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 suggestionMenuClosed() 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