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

Unified Diff: content/renderer/render_view_impl.h

Issue 1995333002: Handle newCursorPosition correctly for Android's commitText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 3d51a93ad088e89504928d5d6183f55c5ab39ddd..9063419a24e77bc9bafe5e1ed2893b9e45c19afe 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -472,7 +472,8 @@ class CONTENT_EXPORT RenderViewImpl
int selection_end) override;
void OnImeConfirmComposition(const base::string16& text,
const gfx::Range& replacement_range,
- bool keep_selection) override;
+ bool keep_selection,
+ int newCursorPosition = 1) override;
void OnOrientationChange() override;
ui::TextInputType GetTextInputType() override;
void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override;

Powered by Google App Engine
This is Rietveld 408576698