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 3c9e76126109d17928229b2a37eb92ebb00953f3..d8d94066207f125798398a30754cc574b75d11f5 100644 |
--- a/third_party/WebKit/public/web/WebFrameClient.h |
+++ b/third_party/WebKit/public/web/WebFrameClient.h |
@@ -454,6 +454,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 |