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

Unified Diff: components/plugins/renderer/plugin_placeholder.cc

Issue 144803003: Fix issue that IME can't be enabled when set Plugin mode to "Click to play". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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
« AUTHORS ('K') | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/plugins/renderer/plugin_placeholder.cc
diff --git a/components/plugins/renderer/plugin_placeholder.cc b/components/plugins/renderer/plugin_placeholder.cc
index deb64d7c02f37b5de34caee240cd92ea433925b7..4d8647107fd59ca9caab6dadc81295fb92b97150 100644
--- a/components/plugins/renderer/plugin_placeholder.cc
+++ b/components/plugins/renderer/plugin_placeholder.cc
@@ -212,6 +212,7 @@ void PluginPlaceholder::LoadPlugin() {
WebPlugin* plugin =
render_frame()->CreatePlugin(frame_, plugin_info_, plugin_params_);
ReplacePlugin(plugin);
+ plugin->updateFocus(true);
Bernhard Bauer 2014/01/22 10:15:09 Hmm... I'm somewhat worried that this will uncondi
Ruiyi Luo 2014/01/24 13:18:22 Hello Bernhard, Thanks. I will do more debug her
Bernhard Bauer 2014/01/24 13:37:53 Well, WebPluginContainerImpl will call WebPlugin::
}
void PluginPlaceholder::LoadCallback() {
« AUTHORS ('K') | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698