| Index: content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| index c2041e7c978e9dfb900d0742b64d8089174efe20..61fcafd5761e856ac3fb387a05a40109c6b7bf1b 100644
|
| --- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| +++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| @@ -414,6 +414,12 @@ void PepperPluginDelegateImpl::PluginRequestedCancelComposition(
|
| render_view_->PpapiPluginCancelComposition();
|
| }
|
|
|
| +void PepperPluginDelegateImpl::PluginSelectionChanged(
|
| + webkit::ppapi::PluginInstance* instance) {
|
| + if (focused_plugin_ == instance && render_view_)
|
| + render_view_->PpapiPluginSelectionChanged();
|
| +}
|
| +
|
| void PepperPluginDelegateImpl::OnImeSetComposition(
|
| const string16& text,
|
| const std::vector<WebKit::WebCompositionUnderline>& underlines,
|
| @@ -485,6 +491,13 @@ ui::TextInputType PepperPluginDelegateImpl::GetTextInputType() const {
|
| return focused_plugin_->text_input_type();
|
| }
|
|
|
| +void PepperPluginDelegateImpl::GetSurroundingText(string16* text,
|
| + ui::Range* range) const {
|
| + if (!focused_plugin_)
|
| + return;
|
| + return focused_plugin_->GetSurroundingText(text, range);
|
| +}
|
| +
|
| bool PepperPluginDelegateImpl::IsPluginAcceptingCompositionEvents() const {
|
| if (!focused_plugin_)
|
| return false;
|
|
|