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

Unified Diff: lib/dom/dom.dart

Issue 10381128: Roll IDL to multivm@516 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « 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 fab639b474befa42bee362b0182a4e08ca75365a..5343b82edaf0dc7bf81e3f5a7c56e5f15b3bad83 100644
--- a/lib/dom/dom.dart
+++ b/lib/dom/dom.dart
@@ -2725,6 +2725,8 @@ interface Event {
static final int MOUSEUP = 2;
+ static final int NONE = 0;
+
static final int SELECT = 16384;
final bool bubbles;
@@ -3900,6 +3902,8 @@ interface HTMLInputElement extends HTMLElement {
String formTarget;
+ int height;
+
bool incremental;
bool indeterminate;
@@ -3956,6 +3960,8 @@ interface HTMLInputElement extends HTMLElement {
bool webkitdirectory;
+ int width;
+
final bool willValidate;
bool checkValidity();
@@ -5040,7 +5046,7 @@ interface IDBCursor {
static final int PREV_NO_DUPLICATE = 3;
- final int direction;
+ final String direction;
final /*IDBKey*/ key;
@@ -5094,7 +5100,7 @@ interface IDBDatabase extends EventTarget {
IDBVersionChangeRequest setVersion(String version);
- IDBTransaction transaction(storeName_OR_storeNames, int mode);
+ IDBTransaction transaction(storeName_OR_storeNames, mode);
}
// 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
@@ -5178,9 +5184,9 @@ interface IDBIndex {
IDBRequest getKey(key);
- IDBRequest openCursor([key_OR_range, int direction]);
+ IDBRequest openCursor([key_OR_range, direction]);
- IDBRequest openKeyCursor([key_OR_range, int direction]);
+ IDBRequest openKeyCursor([key_OR_range, direction]);
}
// 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
@@ -5248,7 +5254,7 @@ interface IDBObjectStore {
IDBIndex index(String name);
- IDBRequest openCursor([key_OR_range, int direction]);
+ IDBRequest openCursor([key_OR_range, direction]);
IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]);
}
@@ -5260,13 +5266,9 @@ interface IDBObjectStore {
interface IDBRequest extends EventTarget {
- static final int DONE = 2;
-
- static final int LOADING = 1;
-
final int errorCode;
- final int readyState;
+ final String readyState;
final /*IDBAny*/ result;
@@ -5298,7 +5300,7 @@ interface IDBTransaction extends EventTarget {
final IDBDatabase db;
- final int mode;
+ final String mode;
void abort();
@@ -6344,6 +6346,13 @@ interface NotificationCenter {
void requestPermission(VoidCallback callback);
}
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+typedef bool NotificationPermissionCallback(String permission);
// 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
// BSD-style license that can be found in the LICENSE file.
@@ -6418,20 +6427,34 @@ interface Oscillator extends AudioSourceNode {
static final int CUSTOM = 4;
+ static final int FINISHED_STATE = 3;
+
+ static final int PLAYING_STATE = 2;
+
static final int SAWTOOTH = 2;
+ static final int SCHEDULED_STATE = 1;
+
static final int SINE = 0;
static final int SQUARE = 1;
static final int TRIANGLE = 3;
+ static final int UNSCHEDULED_STATE = 0;
+
final AudioParam detune;
final AudioParam frequency;
+ final int playbackState;
+
int type;
+ void noteOff(num when);
+
+ void noteOn(num when);
+
void setWaveTable(WaveTable waveTable);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -6492,10 +6515,10 @@ interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryP
static final int ICE_WAITING = 0x200;
- static final int NEGOTIATING = 1;
-
static final int NEW = 0;
+ static final int OPENING = 1;
+
static final int SDP_ANSWER = 0x300;
static final int SDP_OFFER = 0x100;
@@ -6516,13 +6539,13 @@ interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryP
void addEventListener(String type, EventListener listener, [bool useCapture]);
- void addStream(MediaStream stream, [String mediaStreamHints]);
+ void addStream(MediaStream stream, [Map mediaStreamHints]);
void close();
- SessionDescription createAnswer(String offer, [String mediaHints]);
+ SessionDescription createAnswer(String offer, [Map mediaHints]);
- SessionDescription createOffer([String mediaHints]);
+ SessionDescription createOffer([Map mediaHints]);
bool dispatchEvent(Event event);
@@ -6536,7 +6559,7 @@ interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryP
void setRemoteDescription(int action, SessionDescription desc);
- void startIce([String iceOptions]);
+ void startIce([Map iceOptions]);
}
// 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
@@ -6728,6 +6751,16 @@ interface RGBColor {
// WARNING: Do not edit - generated code.
+interface RadioNodeList extends NodeList {
+
+ String value;
+}
+// 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
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
interface Range {
static final int END_TO_END = 2;
@@ -6874,7 +6907,7 @@ interface Rect {
// WARNING: Do not edit - generated code.
-typedef bool RequestAnimationFrameCallback(num highResTime);
+typedef bool RequestAnimationFrameCallback(int time);
// 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
// BSD-style license that can be found in the LICENSE file.
@@ -9654,6 +9687,8 @@ interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
final Element activeElement;
+ bool applyAuthorStyles;
+
final Element host;
String innerHTML;
« 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