DescriptionFix issue that IME can't be enabled when set Plugin mode to "Click to play".
In normal mode, the plugin is created at the moment the page is loaded. Then when the first time the plugin is clicked. It will set the flag "has_webkit_focus_" true in real plugin instance. Then, send out the focus change notification in PepperPluginInstanceImpl::SetWebKitFocus, which will finally affect the IME stuff.
However, at "Click to play" mode, WebViewPlugin is created at first, which will be replaced by real plugin. When the first time we click, the real plugin is created, loaded. But no focus is set in real plugin, which cause the IME stuff can't be enabled.
In solution, we transfer the |focused_| in WebViewPlugin to new plugin after it loaded.
BUG=336740
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251303
Patch Set 1 #
Total comments: 5
Patch Set 2 : Update the fixing with a focused_ flag in WebViewPlugin #
Total comments: 7
Patch Set 3 : Updating the fixing with merging into ReplayReceivedData. #
Messages
Total messages: 15 (0 generated)
|