| Index: content/public/browser/render_frame_host.h
|
| diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h
|
| index 980704cf16b18af25807b656539ea3bc0105cdc3..e404d2d9018bb31a1802efaf937067cf71d8b850 100644
|
| --- a/content/public/browser/render_frame_host.h
|
| +++ b/content/public/browser/render_frame_host.h
|
| @@ -163,6 +163,17 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
|
| virtual void InsertVisualStateCallback(
|
| const VisualStateCallback& callback) = 0;
|
|
|
| + // Copies the image at the location in viewport coordinates (not frame
|
| + // coordinates) to the clipboard. If there is no image at that location, does
|
| + // nothing.
|
| + virtual void CopyImageAt(int x, int y) = 0;
|
| +
|
| + // Requests to save the image at the location in viewport coordinates (not
|
| + // frame coordinates). If there is an image at the location, the renderer
|
| + // will post back the appropriate download message to trigger the save UI.
|
| + // If there is no image at that location, does nothing.
|
| + virtual void SaveImageAt(int x, int y) = 0;
|
| +
|
| // RenderViewHost for this frame.
|
| virtual RenderViewHost* GetRenderViewHost() = 0;
|
|
|
|
|