Chromium Code Reviews| 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..e115d08bb4b4d83270f1cd945a09b4ec725ee3d4 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() {} |
|
nasko
2015/06/04 20:18:00
Since these are also present in WebContents.h, I t
mohsen
2015/06/04 23:11:38
Yeah, event if they don't need to, making them pur
|
| + virtual void Copy() {} |
| + virtual void Paste() {} |
| + |
| + // 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 |