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 e4681c9c4b879edca18aa9d1acec1878354788c1..500b94fc33368081e830229444c76525c87728dc 100644 |
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
@@ -614,6 +614,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, |
@@ -685,6 +691,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; |