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 86d80b8040486dbf5de25d4fe56a063e3c0aabfc..0e547d7311aea2d7f4320f37e8dc3accea5a033c 100644 |
--- a/third_party/WebKit/public/web/WebFrameClient.h |
+++ b/third_party/WebKit/public/web/WebFrameClient.h |
@@ -438,6 +438,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 |