| Index: content/browser/frame_host/render_frame_host_impl.h
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
|
| index 6c11dc61d741016f1c73c570a78ec16ded1a1589..48b68e06b0cb5503b976177ac8732185f21ec332 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.h
|
| +++ b/content/browser/frame_host/render_frame_host_impl.h
|
| @@ -458,9 +458,16 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| void ExtendSelectionAndDelete(size_t before, size_t after);
|
|
|
| // Deletes text before and after the current cursor position, excluding the
|
| - // selection.
|
| + // selection. The lengths are supplied in Java chars (UTF-16 Code Unit), not
|
| + // in code points or in glyphs.
|
| void DeleteSurroundingText(size_t before, size_t after);
|
|
|
| + // Deletes text before and after the current cursor position, excluding the
|
| + // selection. The lengths are supplied in code points, not in Java chars
|
| + // (UTF-16 Code Unit) or in glyphs. Do nothing if there are one or more
|
| + // invalid surrogate pairs in the requested range.
|
| + void DeleteSurroundingTextInCodePoints(size_t before, size_t after);
|
| +
|
| // Notifies the RenderFrame that the JavaScript message that was shown was
|
| // closed by the user.
|
| void JavaScriptDialogClosed(IPC::Message* reply_msg,
|
|
|