Chromium Code Reviews| 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 c43170372a5bb434b4486e365ef1e398fd64c815..724b19c2eac6805cda2b2fa119334142135532a9 100644 |
| --- a/content/browser/frame_host/render_frame_host_impl.h |
| +++ b/content/browser/frame_host/render_frame_host_impl.h |
| @@ -436,9 +436,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, 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 or in |
| + // glyphs. Do nothing if there are one or more invalid surrogate pairs in the |
| + // requested range |
|
Changwan Ryu
2017/01/11 02:00:27
Period at the end?
yabinh
2017/01/24 11:39:56
Done.
|
| + 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, |