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 aa09796f670264040a0f85fc2c41d9c337707972..e99540e2f17d390ba71413addb6c8881c2cda918 100644 |
--- a/third_party/WebKit/public/web/WebFrameClient.h |
+++ b/third_party/WebKit/public/web/WebFrameClient.h |
@@ -444,6 +444,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 |