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

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

Issue 2333813002: Introduce WebInputMethodController to blink (Closed)
Patch Set: Updated a comment Created 4 years, 3 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.cc
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc
index d8eb0bb7eca1f5b9f71fa7b5745fb06ce544a46c..263beae1fa53eff16e9f21eb4e0762666db5faf0 100644
--- a/content/renderer/browser_plugin/browser_plugin.cc
+++ b/content/renderer/browser_plugin/browser_plugin.cc
@@ -566,10 +566,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