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

Unified Diff: Source/core/html/HTMLCanvasElement.idl

Issue 1257253004: [HTMLCanvasElement.toBlob] Default callback version without scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Basic Callback version of toBlob function of HTMLCanvasElement Implemented Created 5 years, 4 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
Index: Source/core/html/HTMLCanvasElement.idl
diff --git a/Source/core/html/HTMLCanvasElement.idl b/Source/core/html/HTMLCanvasElement.idl
index 57ead8bcb8e8971c58665b2d167f008b310e5aee..7b3441b44c5393d98b7d6b260b8e3f7bd1480300 100644
--- a/Source/core/html/HTMLCanvasElement.idl
+++ b/Source/core/html/HTMLCanvasElement.idl
@@ -51,4 +51,6 @@ interface HTMLCanvasElement : HTMLElement {
// only one extra argument is actually used.
// FIXME: type should not have a default value.
[RaisesException] DOMString toDataURL(optional DOMString type = null, optional any arguments);
+
+ [RaisesException] void toBlob(FileCallback? _callback, optional DOMString type = null, optional any arguments);
Justin Novosad 2015/08/13 21:03:40 This feature is not yet approved for shipping. You
xlai (Olivia) 2015/08/20 19:46:44 Done.
};

Powered by Google App Engine
This is Rietveld 408576698