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

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

Issue 1995333002: Handle newCursorPosition correctly for Android's commitText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: For yosin@'s 2nd review Created 4 years, 4 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/WebFrameWidgetImpl.h
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
index 5760b0937c104f31285ade1b3fb0a56578703e3d..fd8f486bc9651243f027350113d69f21b5d1fcc5 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
@@ -100,7 +100,7 @@ public:
int selectionStart, int selectionEnd) override;
bool confirmComposition() override;
bool confirmComposition(ConfirmCompositionBehavior selectionBehavior) override;
- bool confirmComposition(const WebString& text) override;
+ bool confirmComposition(const WebString& text, int relativeCaretPosition) override;
bool compositionRange(size_t* location, size_t* length) override;
WebTextInputInfo textInputInfo() override;
WebTextInputType textInputType() override;
@@ -205,7 +205,7 @@ private:
// focused frame has a different local root.
LocalFrame* focusedLocalFrameInWidget() const;
- bool confirmComposition(const WebString& text, ConfirmCompositionBehavior selectionBehavior) const;
+ bool confirmComposition(const WebString& text, ConfirmCompositionBehavior selectionBehavior, int relativeCaretPosition) const;
WebPlugin* focusedPluginIfInputMethodSupported(LocalFrame*) const;

Powered by Google App Engine
This is Rietveld 408576698