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

Unified Diff: content/renderer/render_widget.h

Issue 1995333002: Handle newCursorPosition correctly for Android's commitText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add 3 tests 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: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 97fe63c6722eddd51a29c506b5bf630527261bdd..3d4936770580aa1a8bffbe26e009f2609f41dbf2 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -473,7 +473,8 @@ class CONTENT_EXPORT RenderWidget
int selection_end);
virtual void OnImeConfirmComposition(const base::string16& text,
const gfx::Range& replacement_range,
- bool keep_selection);
+ bool keep_selection,
+ int new_cursor_pos);
// Called when the device scale factor is changed, or the layer tree is
// initialized.
virtual void OnDeviceScaleFactorChanged();

Powered by Google App Engine
This is Rietveld 408576698