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

Unified Diff: lib/dom/dom.dart

Issue 10117028: Roll WebCore IDL to multivm@418 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/dom.dart
diff --git a/lib/dom/dom.dart b/lib/dom/dom.dart
index a4f624a7ccfa5b6b56f4cfe321fef528f95b0f58..340004d0bf84b8d7ac80e50a06e6539a5c3e9bc3 100644
--- a/lib/dom/dom.dart
+++ b/lib/dom/dom.dart
@@ -361,9 +361,9 @@ interface AudioContext extends EventTarget default _AudioContextFactoryProvider
AudioBufferSourceNode createBufferSource();
- AudioChannelMerger createChannelMerger();
+ AudioChannelMerger createChannelMerger([int numberOfInputs]);
- AudioChannelSplitter createChannelSplitter();
+ AudioChannelSplitter createChannelSplitter([int numberOfOutputs]);
ConvolverNode createConvolver();
@@ -373,7 +373,7 @@ interface AudioContext extends EventTarget default _AudioContextFactoryProvider
AudioGainNode createGainNode();
- JavaScriptAudioNode createJavaScriptNode(int bufferSize);
+ JavaScriptAudioNode createJavaScriptNode(int bufferSize, [int numberOfInputChannels, int numberOfOutputChannels]);
MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaElement);
@@ -449,7 +449,7 @@ interface AudioNode {
final int numberOfOutputs;
- void connect(AudioNode destination, int output, int input);
+ void connect(destination, int output, [int input]);
void disconnect(int output);
}
@@ -1002,6 +1002,8 @@ interface CanvasRenderingContext2D extends CanvasRenderingContext {
String textBaseline;
+ final num webkitBackingStorePixelRatio;
+
List webkitLineDash;
num webkitLineDashOffset;
@@ -1093,6 +1095,10 @@ interface CanvasRenderingContext2D extends CanvasRenderingContext {
void transform(num m11, num m12, num m21, num m22, num dx, num dy);
void translate(num tx, num ty);
+
+ ImageData webkitGetImageDataHD(num sx, num sy, num sw, num sh);
+
+ void webkitPutImageDataHD(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY, num dirtyWidth, num dirtyHeight]);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -3009,6 +3015,12 @@ interface FileWriter extends EventTarget {
void abort();
+ void addEventListener(String type, EventListener listener, [bool useCapture]);
+
+ bool dispatchEvent(Event evt);
+
+ void removeEventListener(String type, EventListener listener, [bool useCapture]);
+
void seek(int position);
void truncate(int size);
@@ -4196,9 +4208,13 @@ interface HTMLMediaElement extends HTMLElement {
void play();
+ void webkitSourceAddId(String id, String type);
+
void webkitSourceAppend(Uint8Array data);
void webkitSourceEndOfStream(int status);
+
+ void webkitSourceRemoveId(String id);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -5457,7 +5473,7 @@ interface KeyboardEvent extends UIEvent {
// WARNING: Do not edit - generated code.
-interface LocalMediaStream extends MediaStream, EventTarget {
+interface LocalMediaStream extends MediaStream {
void stop();
}
@@ -5469,6 +5485,8 @@ interface LocalMediaStream extends MediaStream, EventTarget {
interface Location {
+ final List<String> ancestorOrigins;
+
String hash;
String host;
@@ -9554,6 +9572,8 @@ interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
String innerHTML;
+ final DOMSelection selection;
+
Element getElementById(String elementId);
NodeList getElementsByClassName(String className);
@@ -9678,6 +9698,12 @@ interface SpeechRecognition extends EventTarget default _SpeechRecognitionFactor
void abort();
+ void addEventListener(String type, EventListener listener, [bool useCapture]);
+
+ bool dispatchEvent(Event evt);
+
+ void removeEventListener(String type, EventListener listener, [bool useCapture]);
+
void start();
void stop();
@@ -11686,6 +11712,8 @@ interface WebKitMutationObserver {
interface WebKitNamedFlow {
+ final NodeList contentNodes;
+
final bool overflow;
NodeList getRegionsByContentNode(Node contentNode);
« no previous file with comments | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698