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

Unified Diff: lib/html/frog/html_frog.dart

Side-by-side diff isn't available for this file because of its large size.
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:
Download patch
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | third_party/WebCore/Modules/indexeddb/IDBCursor.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/frog/html_frog.dart
diff --git a/lib/html/frog/html_frog.dart b/lib/html/frog/html_frog.dart
index c99bd6f0cbe43158deea7db8aa316f82faa4e801..11d863415294f24c73fb7173ba988af83d2283f8 100644
--- a/lib/html/frog/html_frog.dart
+++ b/lib/html/frog/html_frog.dart
@@ -6516,6 +6516,8 @@ class _EventImpl implements Event native "*Event" {
static final int MOUSEUP = 2;
+ static final int NONE = 0;
+
static final int SELECT = 16384;
final bool bubbles;
@@ -7476,7 +7478,7 @@ class _IDBCursorImpl implements IDBCursor native "*IDBCursor" {
static final int PREV_NO_DUPLICATE = 3;
- final int direction;
+ final String direction;
final Dynamic key;
@@ -7523,7 +7525,7 @@ class _IDBDatabaseImpl extends _EventTargetImpl implements IDBDatabase native "*
_IDBVersionChangeRequestImpl setVersion(String version) native;
- _IDBTransactionImpl transaction(storeName_OR_storeNames, int mode) native;
+ _IDBTransactionImpl transaction(storeName_OR_storeNames, mode) native;
}
class _IDBDatabaseEventsImpl extends _EventsImpl implements IDBDatabaseEvents {
@@ -7602,9 +7604,9 @@ class _IDBIndexImpl implements IDBIndex native "*IDBIndex" {
_IDBRequestImpl getKey(key) native;
- _IDBRequestImpl openCursor([key_OR_range = null, int direction = null]) native;
+ _IDBRequestImpl openCursor([key_OR_range = null, direction = null]) native;
- _IDBRequestImpl openKeyCursor([key_OR_range = null, int direction = null]) native;
+ _IDBRequestImpl openKeyCursor([key_OR_range = null, direction = null]) native;
}
class _IDBKeyImpl implements IDBKey native "*IDBKey" {
@@ -7647,7 +7649,7 @@ class _IDBObjectStoreImpl implements IDBObjectStore native "*IDBObjectStore" {
_IDBIndexImpl index(String name) native;
- _IDBRequestImpl openCursor([key_OR_range = null, int direction = null]) native;
+ _IDBRequestImpl openCursor([key_OR_range = null, direction = null]) native;
_IDBRequestImpl put(value, [key = null]) native;
}
@@ -7657,13 +7659,9 @@ class _IDBRequestImpl extends _EventTargetImpl implements IDBRequest native "*ID
_IDBRequestEventsImpl get on() =>
new _IDBRequestEventsImpl(this);
- static final int DONE = 2;
-
- static final int LOADING = 1;
-
final int errorCode;
- final int readyState;
+ final String readyState;
final Dynamic result;
@@ -7701,7 +7699,7 @@ class _IDBTransactionImpl extends _EventTargetImpl implements IDBTransaction nat
final _IDBDatabaseImpl db;
- final int mode;
+ final String mode;
void abort() native;
@@ -7883,6 +7881,8 @@ class _InputElementImpl extends _ElementImpl implements InputElement native "*HT
String formTarget;
+ int height;
+
bool incremental;
bool indeterminate;
@@ -7939,6 +7939,8 @@ class _InputElementImpl extends _ElementImpl implements InputElement native "*HT
bool webkitdirectory;
+ int width;
+
final bool willValidate;
bool checkValidity() native;
@@ -9827,20 +9829,34 @@ class _OscillatorImpl extends _AudioSourceNodeImpl implements Oscillator native
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 _AudioParamImpl detune;
final _AudioParamImpl frequency;
+ final int playbackState;
+
int type;
+ void noteOff(num when) native;
+
+ void noteOn(num when) native;
+
void setWaveTable(_WaveTableImpl waveTable) native;
}
@@ -9930,10 +9946,10 @@ class _PeerConnection00Impl extends _EventTargetImpl implements PeerConnection00
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;
@@ -9954,13 +9970,13 @@ class _PeerConnection00Impl extends _EventTargetImpl implements PeerConnection00
void $dom_addEventListener(String type, EventListener listener, [bool useCapture = null]) native "addEventListener";
- void addStream(_MediaStreamImpl stream, [String mediaStreamHints = null]) native;
+ void addStream(_MediaStreamImpl stream, [Map mediaStreamHints = null]) native;
void close() native;
- _SessionDescriptionImpl createAnswer(String offer, [String mediaHints = null]) native;
+ _SessionDescriptionImpl createAnswer(String offer, [Map mediaHints = null]) native;
- _SessionDescriptionImpl createOffer([String mediaHints = null]) native;
+ _SessionDescriptionImpl createOffer([Map mediaHints = null]) native;
bool $dom_dispatchEvent(_EventImpl event) native "dispatchEvent";
@@ -9974,7 +9990,7 @@ class _PeerConnection00Impl extends _EventTargetImpl implements PeerConnection00
void setRemoteDescription(int action, _SessionDescriptionImpl desc) native;
- void startIce([String iceOptions = null]) native;
+ void startIce([Map iceOptions = null]) native;
}
class _PeerConnection00EventsImpl extends _EventsImpl implements PeerConnection00Events {
@@ -10146,6 +10162,11 @@ class _RGBColorImpl implements RGBColor native "*RGBColor" {
final _CSSPrimitiveValueImpl red;
}
+class _RadioNodeListImpl extends _NodeListImpl implements RadioNodeList native "*RadioNodeList" {
+
+ String value;
+}
+
class _RangeImpl implements Range native "*Range" {
static final int END_TO_END = 2;
@@ -13903,6 +13924,8 @@ class _ShadowRootImpl extends _DocumentFragmentImpl implements ShadowRoot native
final _ElementImpl activeElement;
+ bool applyAuthorStyles;
+
final _ElementImpl host;
String innerHTML;
@@ -23216,6 +23239,8 @@ interface Event default _EventFactoryProvider {
static final int MOUSEUP = 2;
+ static final int NONE = 0;
+
static final int SELECT = 16384;
/** @domName Event.bubbles */
@@ -24200,7 +24225,7 @@ interface IDBCursor {
static final int PREV_NO_DUPLICATE = 3;
/** @domName IDBCursor.direction */
- final int direction;
+ final String direction;
/** @domName IDBCursor.key */
final Dynamic key;
@@ -24280,7 +24305,7 @@ interface IDBDatabase extends EventTarget {
IDBVersionChangeRequest setVersion(String version);
/** @domName IDBDatabase.transaction */
- IDBTransaction transaction(storeName_OR_storeNames, int mode);
+ IDBTransaction transaction(storeName_OR_storeNames, mode);
}
interface IDBDatabaseEvents extends Events {
@@ -24393,10 +24418,10 @@ interface IDBIndex {
IDBRequest getKey(key);
/** @domName IDBIndex.openCursor */
- IDBRequest openCursor([key_OR_range, int direction]);
+ IDBRequest openCursor([key_OR_range, direction]);
/** @domName IDBIndex.openKeyCursor */
- 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
@@ -24496,7 +24521,7 @@ interface IDBObjectStore {
IDBIndex index(String name);
/** @domName IDBObjectStore.openCursor */
- IDBRequest openCursor([key_OR_range, int direction]);
+ IDBRequest openCursor([key_OR_range, direction]);
/** @domName IDBObjectStore.put */
IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]);
@@ -24515,15 +24540,11 @@ interface IDBRequest extends EventTarget {
*/
IDBRequestEvents get on();
- static final int DONE = 2;
-
- static final int LOADING = 1;
-
/** @domName IDBRequest.errorCode */
final int errorCode;
/** @domName IDBRequest.readyState */
- final int readyState;
+ final String readyState;
/** @domName IDBRequest.result */
final Dynamic result;
@@ -24577,7 +24598,7 @@ interface IDBTransaction extends EventTarget {
final IDBDatabase db;
/** @domName IDBTransaction.mode */
- final int mode;
+ final String mode;
/** @domName IDBTransaction.abort */
void abort();
@@ -24852,6 +24873,9 @@ interface InputElement extends Element {
/** @domName HTMLInputElement.formTarget */
String formTarget;
+ /** @domName HTMLInputElement.height */
+ int height;
+
/** @domName HTMLInputElement.incremental */
bool incremental;
@@ -24936,6 +24960,9 @@ interface InputElement extends Element {
/** @domName HTMLInputElement.webkitdirectory */
bool webkitdirectory;
+ /** @domName HTMLInputElement.width */
+ int width;
+
/** @domName HTMLInputElement.willValidate */
final bool willValidate;
@@ -26709,6 +26736,13 @@ interface NotificationCenter {
/** @domName NotificationCenter.requestPermission */
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.
@@ -26944,23 +26978,40 @@ 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;
+
/** @domName Oscillator.detune */
final AudioParam detune;
/** @domName Oscillator.frequency */
final AudioParam frequency;
+ /** @domName Oscillator.playbackState */
+ final int playbackState;
+
/** @domName Oscillator.type */
int type;
+ /** @domName Oscillator.noteOff */
+ void noteOff(num when);
+
+ /** @domName Oscillator.noteOn */
+ void noteOn(num when);
+
/** @domName Oscillator.setWaveTable */
void setWaveTable(WaveTable waveTable);
}
@@ -27112,10 +27163,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;
@@ -27144,16 +27195,16 @@ interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryP
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
/** @domName PeerConnection00.addStream */
- void addStream(MediaStream stream, [String mediaStreamHints]);
+ void addStream(MediaStream stream, [Map mediaStreamHints]);
/** @domName PeerConnection00.close */
void close();
/** @domName PeerConnection00.createAnswer */
- SessionDescription createAnswer(String offer, [String mediaHints]);
+ SessionDescription createAnswer(String offer, [Map mediaHints]);
/** @domName PeerConnection00.createOffer */
- SessionDescription createOffer([String mediaHints]);
+ SessionDescription createOffer([Map mediaHints]);
/** @domName PeerConnection00.dispatchEvent */
bool $dom_dispatchEvent(Event event);
@@ -27174,7 +27225,7 @@ interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryP
void setRemoteDescription(int action, SessionDescription desc);
/** @domName PeerConnection00.startIce */
- void startIce([String iceOptions]);
+ void startIce([Map iceOptions]);
}
interface PeerConnection00Events extends Events {
@@ -27495,6 +27546,18 @@ interface RGBColor {
// WARNING: Do not edit - generated code.
+/// @domName RadioNodeList
+interface RadioNodeList extends NodeList {
+
+ /** @domName RadioNodeList.value */
+ 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.
+
/// @domName Range
interface Range {
@@ -27692,7 +27755,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.
@@ -31402,6 +31465,9 @@ interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
/** @domName ShadowRoot.activeElement */
final Element activeElement;
+ /** @domName ShadowRoot.applyAuthorStyles */
+ bool applyAuthorStyles;
+
/** @domName ShadowRoot.host */
final Element host;
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | third_party/WebCore/Modules/indexeddb/IDBCursor.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698