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

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

Issue 1889053003: Fix InputConnection.deleteSurroundingText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index b3b037814c7561b83e7860169013c7baabeb4c57..5b36afe7b925d6319ac61450cc2030504f7aadbc 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -419,6 +419,10 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
// before and after the selection or caret.
void ExtendSelectionAndDelete(size_t before, size_t after);
+ // Deletes text before and after the current cursor position, excluding the
+ // selection.
+ void DeleteSurroundingText(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,
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | third_party/WebKit/public/web/WebFrame.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698