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

Side by Side Diff: third_party/WebKit/Source/core/html/canvas/OffScreenCanvas.idl

Issue 1488763002: Start an empty interface OffScreenCanvas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up Created 5 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // https://wiki.whatwg.org/wiki/OffscreenCanvas
6
7 [
8 Constructor(unsigned long width, unsigned long height),
9 Exposed=(Window,Worker),
10 GarbageCollected,
11 RuntimeEnabled=ExperimentalCanvasFeatures,
12 ] interface OffScreenCanvas {
13 attribute unsigned long width;
14 attribute unsigned long height;
15 // RenderingContext? getContext(DOMString contextId, any... arguments);
16 ImageBitmap transferToImageBitmap();
17 // Promise<Blob> toBlob(optional DOMString type, any... arguments);
18 };
19
20 // TODO(crbug.com/547054): fix this once the Transferable base class is availabl e.
21 // OffscreenCanvas implements Transferable;
22 // ImageBitmap implements Transferable;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698