Index: third_party/WebKit/public/web/WebFrameClient.h |
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h |
index f1cbdba6c78c81eed9cfbe33650100ca06590566..02c83fe4117d87cc01452b71813a23761c4f1a3e 100644 |
--- a/third_party/WebKit/public/web/WebFrameClient.h |
+++ b/third_party/WebKit/public/web/WebFrameClient.h |
@@ -445,6 +445,10 @@ public: |
// the given frame. Additional context data is supplied. |
virtual void showContextMenu(const WebContextMenuData&) { } |
+ // This method is called in response to WebView's saveImageAt(x, y). |
+ // A data url from <canvas> or <img> is passed to the method's argument. |
+ virtual void saveImageFromDataURL(const WebString&) { } |
+ |
// Low-level resource notifications ------------------------------------ |
// A request is about to be sent out, and the client may modify it. Request |