| Index: content/renderer/render_frame_impl.cc
|
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
|
| index c95d6134a440ea27f0675f1a808f5068e46742e8..4447a7cfae881b4826e00b4fb6957dae114e8613 100644
|
| --- a/content/renderer/render_frame_impl.cc
|
| +++ b/content/renderer/render_frame_impl.cc
|
| @@ -1542,6 +1542,8 @@ bool RenderFrameImpl::OnMessageReceived(const IPC::Message& msg) {
|
| IPC_MESSAGE_HANDLER(InputMsg_ExtendSelectionAndDelete,
|
| OnExtendSelectionAndDelete)
|
| IPC_MESSAGE_HANDLER(InputMsg_DeleteSurroundingText, OnDeleteSurroundingText)
|
| + IPC_MESSAGE_HANDLER(InputMsg_DeleteSurroundingTextInCodePoints,
|
| + OnDeleteSurroundingTextInCodePoints)
|
| IPC_MESSAGE_HANDLER(InputMsg_SetCompositionFromExistingText,
|
| OnSetCompositionFromExistingText)
|
| IPC_MESSAGE_HANDLER(InputMsg_SetEditableSelectionOffsets,
|
| @@ -2116,6 +2118,12 @@ void RenderFrameImpl::OnDeleteSurroundingText(int before, int after) {
|
| frame_->deleteSurroundingText(before, after);
|
| }
|
|
|
| +void RenderFrameImpl::OnDeleteSurroundingTextInCodePoints(int before,
|
| + int after) {
|
| + ImeEventGuard guard(GetRenderWidget());
|
| + frame_->deleteSurroundingTextInCodePoints(before, after);
|
| +}
|
| +
|
| void RenderFrameImpl::OnSetAccessibilityMode(AccessibilityMode new_mode) {
|
| if (accessibility_mode_ == new_mode)
|
| return;
|
|
|