Index: content/browser/renderer_host/render_widget_host_delegate.h |
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h |
index a2eb5e6e379535e4b3776e1243423ec918f716b5..0fa71b4d57fce1de6ffa699d48eb7bf5cf6dcb9a 100644 |
--- a/content/browser/renderer_host/render_widget_host_delegate.h |
+++ b/content/browser/renderer_host/render_widget_host_delegate.h |
@@ -15,6 +15,10 @@ class WebMouseWheelEvent; |
class WebGestureEvent; |
} |
+namespace gfx { |
+class Point; |
+} |
+ |
namespace content { |
class BrowserAccessibilityManager; |
@@ -75,6 +79,18 @@ class CONTENT_EXPORT RenderWidgetHostDelegate { |
virtual BrowserAccessibilityManager* |
GetOrCreateRootBrowserAccessibilityManager(); |
+ // Send OS Cut/Copy/Paste actions to the focused frame. |
+ virtual void Cut() = 0; |
+ virtual void Copy() = 0; |
+ virtual void Paste() = 0; |
+ |
+ // Requests the renderer to move the selection extent to a new position. |
+ virtual void MoveRangeSelectionExtent(const gfx::Point& extent) {} |
+ |
+ // Requests the renderer to select the region between two points in the |
+ // currently focused frame. |
+ virtual void SelectRange(const gfx::Point& base, const gfx::Point& extent) {} |
+ |
#if defined(OS_WIN) |
virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); |
#endif |