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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.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: content/browser/browser_plugin/browser_plugin_guest.h
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h
index ccfb0b990d3b2ee748ae053495a6f266f796ef71..2355d4d487c88cbd0b2b29f73bf1aa4e6f0ce98a 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -339,10 +339,10 @@ class CONTENT_EXPORT BrowserPluginGuest : public GuestHost,
const std::vector<blink::WebCompositionUnderline>& underlines,
int selection_start,
int selection_end);
- void OnImeConfirmComposition(
- int instance_id,
- const std::string& text,
- bool keep_selection);
+ void OnImeConfirmComposition(int instance_id,
+ const std::string& text,
+ bool keep_selection,
+ int relative_cursor_pos);
void OnExtendSelectionAndDelete(int instance_id, int before, int after);
void OnImeCancelComposition();
#if defined(OS_MACOSX) || defined(USE_AURA)

Powered by Google App Engine
This is Rietveld 408576698