Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(710)

Unified Diff: public/web/WebView.h

Issue 255563004: Implement "Save image as" for canvas (blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/web/WebNavigationPolicy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebView.h
diff --git a/public/web/WebView.h b/public/web/WebView.h
index a5669eda463062f9281eff403cc2b0003c9ea76e..14d492cdee8424ce6c2004f11ad4edc45c18997c 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -338,6 +338,10 @@ public:
// WebView (if there is such an image)
virtual void copyImageAt(const WebPoint&) = 0;
+ // Save as the image located at a particular point in the
+ // WebView (if there is such an image)
+ virtual void saveImageAt(const WebPoint&) = 0;
+
// Notifies the WebView that a drag has terminated.
virtual void dragSourceEndedAt(
const WebPoint& clientPoint, const WebPoint& screenPoint,
« no previous file with comments | « public/web/WebNavigationPolicy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698