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

Unified Diff: content/renderer/browser_plugin/browser_plugin.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/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index 6cd8bebea23ccd75e06aa1812e404ae1de389b6e..f260a9d7087a72766561ae0be6e1a6b9cf3e0b65 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -120,7 +120,8 @@ class CONTENT_EXPORT BrowserPlugin :
int selectionEnd) override;
bool confirmComposition(
const blink::WebString& text,
- blink::WebWidget::ConfirmCompositionBehavior selectionBehavior) override;
+ blink::WebWidget::ConfirmCompositionBehavior selectionBehavior,
+ int newCursorPosition) override;
void extendSelectionAndDelete(int before, int after) override;
// MouseLockDispatcher::LockTarget implementation.

Powered by Google App Engine
This is Rietveld 408576698