Index: content/browser/renderer_host/render_widget_host_impl.h |
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
index f4ed16aa32154ed941c1d8b470f27c05a85e2504..9be092672337a461509892ad6c98ff572a34f97c 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -295,6 +295,11 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
// Cancels an ongoing composition. |
void ImeCancelComposition(); |
+ // Deletes the current selection plus the specified number of characters |
+ // before and after the selection or caret. |
+ // |before| and |after| can't be negative. |
+ void ExtendSelectionAndDelete(int before, int after); |
sky
2012/09/14 16:14:11
This is a weird method, why not DeleteRange(const
horo
2012/09/14 16:29:19
Because of the asynchronous IPC between the browse
|
+ |
// This is for derived classes to give us access to the resizer rect. |
// And to also expose it to the RenderWidgetHostView. |
virtual gfx::Rect GetRootWindowResizerRect() const; |