| 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 59aa0b8dce17189056d3afdb95dff802879bf8b0..5126458ef28c3aee1d137b8c05638811602cae74 100644
|
| --- a/content/public/browser/render_frame_host.h
|
| +++ b/content/public/browser/render_frame_host.h
|
| @@ -173,6 +173,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;
|
|
|
|
|