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 c6bad77752ded53feb8f7a19c8b69cb8741e60d0..3a8385dafb2eaff8fe94f6b479446cf216b662ed 100644 |
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
@@ -428,6 +428,22 @@ void PepperPluginDelegateImpl::PluginSelectionChanged( |
render_view_->PpapiPluginSelectionChanged(); |
} |
+void PepperPluginDelegateImpl::SimulateImeSetComposition( |
+ const string16& text, |
+ const std::vector<WebKit::WebCompositionUnderline>& underlines, |
+ int selection_start, |
+ int selection_end) { |
+ if (render_view_) |
yzshen1
2012/05/15 18:03:48
nit: {} for multiple-line body.
kinaba
2012/05/16 10:13:57
Done.
|
+ render_view_->SimulateImeSetComposition( |
+ text, underlines, selection_start, selection_end); |
+} |
+ |
+void PepperPluginDelegateImpl::SimulateImeConfirmComposition( |
+ const string16& text) { |
+ if (render_view_) |
+ render_view_->SimulateImeConfirmComposition(text, ui::Range()); |
+} |
+ |
void PepperPluginDelegateImpl::OnImeSetComposition( |
const string16& text, |
const std::vector<WebKit::WebCompositionUnderline>& underlines, |