Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2617443002: Implement ThreadedInputConnection.deleteSurroundingTextInCodePoints() (Closed)
Patch Set: Add some DCHECK Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index e6eb050896fbef0b0b43002ca613443e912bf69d..c60f1394b4124856e3b4cd31bd181096261aa517 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -2641,6 +2641,12 @@ void RenderFrameHostImpl::DeleteSurroundingText(size_t before, size_t after) {
Send(new InputMsg_DeleteSurroundingText(routing_id_, before, after));
}
+void RenderFrameHostImpl::DeleteSurroundingTextInCodePoints(size_t before,
dcheng 2017/02/25 07:37:03 I'm wondering why the caller of this function uses
yabinh 2017/02/27 02:04:33 Done. Replaced size_t with int.
+ size_t after) {
+ Send(new InputMsg_DeleteSurroundingTextInCodePoints(routing_id_, before,
+ after));
+}
+
void RenderFrameHostImpl::JavaScriptDialogClosed(
IPC::Message* reply_msg,
bool success,

Powered by Google App Engine
This is Rietveld 408576698