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

Unified Diff: client/dom/frog/frog_dom.dart

Issue 8889042: Turn on ENABLE_VIDEO to enable AudioContext.createMediaElementSource (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | client/dom/generated/monkey_dom.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/frog/frog_dom.dart
diff --git a/client/dom/frog/frog_dom.dart b/client/dom/frog/frog_dom.dart
index 3e382b8dbdd000728867d9c0605a824184dee2f6..253c66a1b965d140fcd90fdc13273c28d01d1700 100644
--- a/client/dom/frog/frog_dom.dart
+++ b/client/dom/frog/frog_dom.dart
@@ -152,6 +152,8 @@ class AudioContext native "*AudioContext" {
LowPass2FilterNode createLowPass2Filter() native;
+ MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaElement) native;
+
AudioPannerNode createPanner() native;
WaveShaperNode createWaveShaper() native;
@@ -679,7 +681,7 @@ class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen
CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, num r1) native;
- void drawImage(var canvas_OR_image, num sx_OR_x, num sy_OR_y, [num sw_OR_width = null, num height_OR_sh = null, num dx = null, num dy = null, num dw = null, num dh = null]) native;
+ void drawImage(var canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw_OR_width = null, num height_OR_sh = null, num dx = null, num dy = null, num dw = null, num dh = null]) native;
void drawImageFromRect(HTMLImageElement image, [num sx = null, num sy = null, num sw = null, num sh = null, num dx = null, num dy = null, num dw = null, num dh = null, String compositeOperation = null]) native;
@@ -10278,13 +10280,13 @@ class WebGLRenderingContext extends CanvasRenderingContext native "*WebGLRenderi
void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
- void texImage2D(int target, int level, int internalformat, int format_OR_width, int height_OR_type, var border_OR_canvas_OR_image_OR_pixels, [int format = null, int type = null, ArrayBufferView pixels = null]) native;
+ void texImage2D(int target, int level, int internalformat, int format_OR_width, int height_OR_type, var border_OR_canvas_OR_image_OR_pixels_OR_video, [int format = null, int type = null, ArrayBufferView pixels = null]) native;
void texParameterf(int target, int pname, num param) native;
void texParameteri(int target, int pname, int param) native;
- void texSubImage2D(int target, int level, int xoffset, int yoffset, int format_OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels, [int type = null, ArrayBufferView pixels = null]) native;
+ void texSubImage2D(int target, int level, int xoffset, int yoffset, int format_OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels_OR_video, [int type = null, ArrayBufferView pixels = null]) native;
void uniform1f(WebGLUniformLocation location, num x) native;
« no previous file with comments | « no previous file | client/dom/generated/monkey_dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698