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

Unified Diff: content/renderer/browser_plugin/browser_plugin.cc

Issue 2333813002: Introduce WebInputMethodController to blink (Closed)
Patch Set: Explicitly asking for TextInputState updates Created 4 years, 1 month 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.cc
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc
index 6889d05ef8585018faab282793967e7ed670d287..6ada3a64e145b5eb06c593128cc59d8be0ff7a7b 100644
--- a/content/renderer/browser_plugin/browser_plugin.cc
+++ b/content/renderer/browser_plugin/browser_plugin.cc
@@ -571,10 +571,12 @@ bool BrowserPlugin::commitText(const blink::WebString& text,
}
bool BrowserPlugin::finishComposingText(
- blink::WebWidget::ConfirmCompositionBehavior selection_behavior) {
+ blink::WebInputMethodController::ConfirmCompositionBehavior
+ selection_behavior) {
if (!attached())
return false;
- bool keep_selection = (selection_behavior == blink::WebWidget::KeepSelection);
+ bool keep_selection =
+ (selection_behavior == blink::WebInputMethodController::KeepSelection);
BrowserPluginManager::Get()->Send(
new BrowserPluginHostMsg_ImeFinishComposingText(keep_selection));
// TODO(kochi): This assumes the IPC handling always succeeds.

Powered by Google App Engine
This is Rietveld 408576698