Index: public/web/WebViewClient.h |
diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h |
index 172919c8e0f044375d0bb9f6fbff8fcf409926e4..5fae7b47d6cde9b11660b10373ecc978ac5a3aa1 100644 |
--- a/public/web/WebViewClient.h |
+++ b/public/web/WebViewClient.h |
@@ -121,6 +121,10 @@ public: |
// will never be called. |
virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserCompletion*) { return false; } |
+ // 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&) { } |
jochen (gone - plz use gerrit)
2014/09/16 15:53:32
why not pass a WebURL ?
|
+ |
// Editing ------------------------------------------------------------- |