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

Unified Diff: client/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 9838081: Regenerate HTML bindings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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 | « client/dom/templates/html/impl/impl_DocumentFragment.darttemplate ('k') | client/html/frog/html_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/dartium/html_dartium.dart
diff --git a/client/html/dartium/html_dartium.dart b/client/html/dartium/html_dartium.dart
index fa00d89d268f5b87785ca7b540f6cc92673ca0af..3a9d825fde50c0115986ce7cc878a760132acf96 100644
--- a/client/html/dartium/html_dartium.dart
+++ b/client/html/dartium/html_dartium.dart
@@ -243,6 +243,7 @@ _wrap(raw) {
case "IDBVersionChangeEvent": return new _IDBVersionChangeEventImpl._wrap(domObject);
case "IDBVersionChangeRequest": return new _IDBVersionChangeRequestImpl._wrap(domObject);
case "HTMLIFrameElement": return new _IFrameElementImpl._wrap(domObject);
+ case "IceCandidate": return new _IceCandidateImpl._wrap(domObject);
case "ImageData": return new _ImageDataImpl._wrap(domObject);
case "HTMLImageElement": return new _ImageElementImpl._wrap(domObject);
case "HTMLInputElement": return new _InputElementImpl._wrap(domObject);
@@ -486,6 +487,7 @@ _wrap(raw) {
case "ScriptProfile": return new _ScriptProfileImpl._wrap(domObject);
case "ScriptProfileNode": return new _ScriptProfileNodeImpl._wrap(domObject);
case "HTMLSelectElement": return new _SelectElementImpl._wrap(domObject);
+ case "SessionDescription": return new _SessionDescriptionImpl._wrap(domObject);
case "HTMLShadowElement": return new _ShadowElementImpl._wrap(domObject);
case "ShadowRoot": return new _ShadowRootImpl._wrap(domObject);
case "SharedWorker": return new _SharedWorkerImpl._wrap(domObject);
@@ -497,6 +499,7 @@ _wrap(raw) {
case "SpeechInputEvent": return new _SpeechInputEventImpl._wrap(domObject);
case "SpeechInputResult": return new _SpeechInputResultImpl._wrap(domObject);
case "SpeechInputResultList": return new _SpeechInputResultListImpl._wrap(domObject);
+ case "SpeechRecognition": return new _SpeechRecognitionImpl._wrap(domObject);
case "SpeechRecognitionAlternative": return new _SpeechRecognitionAlternativeImpl._wrap(domObject);
case "SpeechRecognitionError": return new _SpeechRecognitionErrorImpl._wrap(domObject);
case "SpeechRecognitionEvent": return new _SpeechRecognitionEventImpl._wrap(domObject);
@@ -929,6 +932,8 @@ class _AudioBufferSourceNodeImpl extends _AudioSourceNodeImpl implements AudioBu
AudioParam get playbackRate() => _wrap(_ptr.playbackRate);
+ int get playbackState() => _wrap(_ptr.playbackState);
+
void noteGrainOn(num when, num grainOffset, num grainDuration) {
_ptr.noteGrainOn(_unwrap(when), _unwrap(grainOffset), _unwrap(grainDuration));
return;
@@ -956,6 +961,8 @@ class _AudioChannelSplitterImpl extends _AudioNodeImpl implements AudioChannelSp
class _AudioContextImpl extends _DOMTypeBase implements AudioContext {
_AudioContextImpl._wrap(ptr) : super._wrap(ptr);
+ int get activeSourceCount() => _wrap(_ptr.activeSourceCount);
+
num get currentTime() => _wrap(_ptr.currentTime);
AudioDestinationNode get destination() => _wrap(_ptr.destination);
@@ -5659,8 +5666,6 @@ class _ConsoleImpl extends _DOMTypeBase implements Console {
MemoryInfo get memory() => _wrap(_ptr.memory);
- List get profiles() => _wrap(_ptr.profiles);
-
void assertCondition(bool condition, Object arg) {
_ptr.assertCondition(_unwrap(condition), _unwrap(arg));
return;
@@ -6808,6 +6813,10 @@ class _DocumentImpl extends _ElementImpl
bool get webkitFullScreenKeyboardInputAllowed() => _wrap(_documentPtr.webkitFullScreenKeyboardInputAllowed);
+ Element get webkitFullscreenElement() => _wrap(_documentPtr.webkitFullscreenElement);
+
+ bool get webkitFullscreenEnabled() => _wrap(_documentPtr.webkitFullscreenEnabled);
+
bool get webkitHidden() => _wrap(_documentPtr.webkitHidden);
bool get webkitIsFullScreen() => _wrap(_documentPtr.webkitIsFullScreen);
@@ -6891,6 +6900,11 @@ class _DocumentImpl extends _ElementImpl
return;
}
+ void webkitExitFullscreen() {
+ _documentPtr.webkitExitFullscreen();
+ return;
+ }
+
WebKitNamedFlow webkitGetFlowByName(String name) {
return _wrap(_documentPtr.webkitGetFlowByName(_unwrap(name)));
}
@@ -7276,6 +7290,7 @@ class _DocumentFragmentImpl extends _NodeImpl implements DocumentFragment {
void scrollByPages(int pages) {}
void scrollIntoView([bool centerIfNeeded]) {}
void webkitRequestFullScreen(int flags) {}
+ void webkitRequestFullscreen() {}
// Setters throw errors rather than being no-ops because we aren't going to
// retain the values that were set, and erroring out seems clearer.
@@ -8164,6 +8179,11 @@ class _ElementImpl extends _NodeImpl implements Element {
return;
}
+ void webkitRequestFullscreen() {
+ _ptr.webkitRequestFullscreen();
+ return;
+ }
+
}
class _ElementEventsImpl extends _EventsImpl implements ElementEvents {
@@ -8813,10 +8833,6 @@ class _FieldSetElementImpl extends _ElementImpl implements FieldSetElement {
class _FileImpl extends _BlobImpl implements File {
_FileImpl._wrap(ptr) : super._wrap(ptr);
- String get fileName() => _wrap(_ptr.fileName);
-
- int get fileSize() => _wrap(_ptr.fileSize);
-
Date get lastModifiedDate() => _wrap(_ptr.lastModifiedDate);
String get name() => _wrap(_ptr.name);
@@ -10312,6 +10328,16 @@ class _IFrameElementImpl extends _ElementImpl implements IFrameElement {
}
}
+class _IceCandidateImpl extends _DOMTypeBase implements IceCandidate {
+ _IceCandidateImpl._wrap(ptr) : super._wrap(ptr);
+
+ String get label() => _wrap(_ptr.label);
+
+ String toSdp() {
+ return _wrap(_ptr.toSdp());
+ }
+}
+
class _ImageDataImpl extends _DOMTypeBase implements ImageData {
_ImageDataImpl._wrap(ptr) : super._wrap(ptr);
@@ -11893,8 +11919,6 @@ class _MetadataImpl extends _DOMTypeBase implements Metadata {
class _MeterElementImpl extends _ElementImpl implements MeterElement {
_MeterElementImpl._wrap(ptr) : super._wrap(ptr);
- FormElement get form() => _wrap(_ptr.form);
-
num get high() => _wrap(_ptr.high);
void set high(num value) { _ptr.high = _unwrap(value); }
@@ -12541,8 +12565,6 @@ class _NotificationEventsImpl extends _EventsImpl implements NotificationEvents
EventListenerList get close() => _get('close');
- EventListenerList get display() => _get('display');
-
EventListenerList get error() => _get('error');
EventListenerList get show() => _get('show');
@@ -12968,8 +12990,6 @@ class _ProcessingInstructionImpl extends _NodeImpl implements ProcessingInstruct
class _ProgressElementImpl extends _ElementImpl implements ProgressElement {
_ProgressElementImpl._wrap(ptr) : super._wrap(ptr);
- FormElement get form() => _wrap(_ptr.form);
-
NodeList get labels() => _wrap(_ptr.labels);
num get max() => _wrap(_ptr.max);
@@ -17460,6 +17480,10 @@ class _ScriptElementImpl extends _ElementImpl implements ScriptElement {
void set charset(String value) { _ptr.charset = _unwrap(value); }
+ String get crossOrigin() => _wrap(_ptr.crossOrigin);
+
+ void set crossOrigin(String value) { _ptr.crossOrigin = _unwrap(value); }
+
bool get defer() => _wrap(_ptr.defer);
void set defer(bool value) { _ptr.defer = _unwrap(value); }
@@ -17591,6 +17615,19 @@ class _SelectElementImpl extends _ElementImpl implements SelectElement {
}
}
+class _SessionDescriptionImpl extends _DOMTypeBase implements SessionDescription {
+ _SessionDescriptionImpl._wrap(ptr) : super._wrap(ptr);
+
+ void addCandidate(IceCandidate candidate) {
+ _ptr.addCandidate(_unwrap(candidate));
+ return;
+ }
+
+ String toSdp() {
+ return _wrap(_ptr.toSdp());
+ }
+}
+
class _ShadowElementImpl extends _ElementImpl implements ShadowElement {
_ShadowElementImpl._wrap(ptr) : super._wrap(ptr);
}
@@ -17725,6 +17762,85 @@ class _SpeechInputResultListImpl extends _DOMTypeBase implements SpeechInputResu
}
}
+class _SpeechRecognitionImpl extends _DOMTypeBase implements SpeechRecognition {
+ _SpeechRecognitionImpl._wrap(ptr) : super._wrap(ptr);
+
+ bool get continuous() => _wrap(_ptr.continuous);
+
+ void set continuous(bool value) { _ptr.continuous = _unwrap(value); }
+
+ SpeechGrammarList get grammars() => _wrap(_ptr.grammars);
+
+ void set grammars(SpeechGrammarList value) { _ptr.grammars = _unwrap(value); }
+
+ String get lang() => _wrap(_ptr.lang);
+
+ void set lang(String value) { _ptr.lang = _unwrap(value); }
+
+ EventListener get onaudioend() => _wrap(_ptr.onaudioend);
+
+ void set onaudioend(EventListener value) { _ptr.onaudioend = _unwrap(value); }
+
+ EventListener get onaudiostart() => _wrap(_ptr.onaudiostart);
+
+ void set onaudiostart(EventListener value) { _ptr.onaudiostart = _unwrap(value); }
+
+ EventListener get onend() => _wrap(_ptr.onend);
+
+ void set onend(EventListener value) { _ptr.onend = _unwrap(value); }
+
+ EventListener get onerror() => _wrap(_ptr.onerror);
+
+ void set onerror(EventListener value) { _ptr.onerror = _unwrap(value); }
+
+ EventListener get onnomatch() => _wrap(_ptr.onnomatch);
+
+ void set onnomatch(EventListener value) { _ptr.onnomatch = _unwrap(value); }
+
+ EventListener get onresult() => _wrap(_ptr.onresult);
+
+ void set onresult(EventListener value) { _ptr.onresult = _unwrap(value); }
+
+ EventListener get onresultdeleted() => _wrap(_ptr.onresultdeleted);
+
+ void set onresultdeleted(EventListener value) { _ptr.onresultdeleted = _unwrap(value); }
+
+ EventListener get onsoundend() => _wrap(_ptr.onsoundend);
+
+ void set onsoundend(EventListener value) { _ptr.onsoundend = _unwrap(value); }
+
+ EventListener get onsoundstart() => _wrap(_ptr.onsoundstart);
+
+ void set onsoundstart(EventListener value) { _ptr.onsoundstart = _unwrap(value); }
+
+ EventListener get onspeechend() => _wrap(_ptr.onspeechend);
+
+ void set onspeechend(EventListener value) { _ptr.onspeechend = _unwrap(value); }
+
+ EventListener get onspeechstart() => _wrap(_ptr.onspeechstart);
+
+ void set onspeechstart(EventListener value) { _ptr.onspeechstart = _unwrap(value); }
+
+ EventListener get onstart() => _wrap(_ptr.onstart);
+
+ void set onstart(EventListener value) { _ptr.onstart = _unwrap(value); }
+
+ void abort() {
+ _ptr.abort();
+ return;
+ }
+
+ void start() {
+ _ptr.start();
+ return;
+ }
+
+ void stop() {
+ _ptr.stop();
+ return;
+ }
+}
+
class _SpeechRecognitionAlternativeImpl extends _DOMTypeBase implements SpeechRecognitionAlternative {
_SpeechRecognitionAlternativeImpl._wrap(ptr) : super._wrap(ptr);
@@ -21521,6 +21637,14 @@ class _FileReaderSyncFactoryProvider {
// 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.
+class _IceCandidateFactoryProvider {
+ factory IceCandidate(String label, String candidateLine) =>
+ _wrap(new dom.IceCandidate(_unwrap(label), _unwrap(candidateLine)));
+}
+// 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.
+
class _MediaControllerFactoryProvider {
factory MediaController() =>
_wrap(new dom.MediaController());
@@ -21553,6 +21677,14 @@ class _OptionElementFactoryProvider {
// 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.
+class _SessionDescriptionFactoryProvider {
+ factory SessionDescription(String sdp) =>
+ _wrap(new dom.SessionDescription(_unwrap(sdp)));
+}
+// 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.
+
class _ShadowRootFactoryProvider {
factory ShadowRoot(Element host) =>
_wrap(new dom.ShadowRoot(_unwrap(host)));
@@ -21585,6 +21717,14 @@ class _SpeechGrammarListFactoryProvider {
// 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.
+class _SpeechRecognitionFactoryProvider {
+ factory SpeechRecognition() =>
+ _wrap(new dom.SpeechRecognition());
+}
+// 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.
+
class _TextTrackCueFactoryProvider {
factory TextTrackCue(String id, num startTime, num endTime, String text, [String settings = null, bool pauseOnExit = null]) =>
_wrap(new dom.TextTrackCue(_unwrap(id), _unwrap(startTime), _unwrap(endTime), _unwrap(text), _unwrap(settings), _unwrap(pauseOnExit)));
@@ -21908,6 +22048,14 @@ typedef bool AudioBufferCallback(AudioBuffer audioBuffer);
interface AudioBufferSourceNode extends AudioSourceNode {
+ static final int FINISHED_STATE = 3;
+
+ static final int PLAYING_STATE = 2;
+
+ static final int SCHEDULED_STATE = 1;
+
+ static final int UNSCHEDULED_STATE = 0;
+
AudioBuffer buffer;
final AudioGain gain;
@@ -21918,6 +22066,8 @@ interface AudioBufferSourceNode extends AudioSourceNode {
final AudioParam playbackRate;
+ final int playbackState;
+
void noteGrainOn(num when, num grainOffset, num grainDuration);
void noteOff(num when);
@@ -21948,6 +22098,8 @@ interface AudioChannelSplitter extends AudioNode {
interface AudioContext {
+ final int activeSourceCount;
+
final num currentTime;
final AudioDestinationNode destination;
@@ -24983,8 +25135,6 @@ interface Console {
final MemoryInfo memory;
- final List profiles;
-
void assertCondition(bool condition, Object arg);
void count();
@@ -25804,6 +25954,10 @@ interface Document extends HtmlElement {
final bool webkitFullScreenKeyboardInputAllowed;
+ final Element webkitFullscreenElement;
+
+ final bool webkitFullscreenEnabled;
+
final bool webkitHidden;
final bool webkitIsFullScreen;
@@ -25838,6 +25992,8 @@ interface Document extends HtmlElement {
void webkitCancelFullScreen();
+ void webkitExitFullscreen();
+
WebKitNamedFlow webkitGetFlowByName(String name);
}
@@ -26379,6 +26535,8 @@ interface Element extends Node, NodeSelector default _ElementFactoryProvider {
void webkitRequestFullScreen(int flags);
+ void webkitRequestFullscreen();
+
}
interface ElementEvents extends Events {
@@ -26866,10 +27024,6 @@ interface FieldSetElement extends Element {
interface File extends Blob {
- final String fileName;
-
- final int fileSize;
-
final Date lastModifiedDate;
final String name;
@@ -27848,6 +28002,20 @@ interface IFrameElement extends Element {
// WARNING: Do not edit - generated code.
+interface IceCandidate default _IceCandidateFactoryProvider {
+
+ IceCandidate(String label, String candidateLine);
+
+ final String label;
+
+ String toSdp();
+}
+// 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 ImageData {
final CanvasPixelArray data;
@@ -28799,8 +28967,6 @@ typedef bool MetadataCallback(Metadata metadata);
interface MeterElement extends Element {
- final FormElement form;
-
num high;
final NodeList labels;
@@ -29206,8 +29372,6 @@ interface NotificationEvents extends Events {
EventListenerList get close();
- EventListenerList get display();
-
EventListenerList get error();
EventListenerList get show();
@@ -29660,8 +29824,6 @@ interface ProcessingInstruction extends Node {
interface ProgressElement extends Element {
- final FormElement form;
-
final NodeList labels;
num max;
@@ -32668,6 +32830,8 @@ interface ScriptElement extends Element {
String charset;
+ String crossOrigin;
+
bool defer;
String event;
@@ -32776,6 +32940,20 @@ interface SelectElement extends Element {
// WARNING: Do not edit - generated code.
+interface SessionDescription default _SessionDescriptionFactoryProvider {
+
+ SessionDescription(String sdp);
+
+ void addCandidate(IceCandidate candidate);
+
+ String toSdp();
+}
+// 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 ShadowElement extends Element {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -32927,6 +33105,52 @@ interface SpeechInputResultList {
// WARNING: Do not edit - generated code.
+interface SpeechRecognition default _SpeechRecognitionFactoryProvider {
+
+ SpeechRecognition();
+
+ bool continuous;
+
+ SpeechGrammarList grammars;
+
+ String lang;
+
+ EventListener onaudioend;
+
+ EventListener onaudiostart;
+
+ EventListener onend;
+
+ EventListener onerror;
+
+ EventListener onnomatch;
+
+ EventListener onresult;
+
+ EventListener onresultdeleted;
+
+ EventListener onsoundend;
+
+ EventListener onsoundstart;
+
+ EventListener onspeechend;
+
+ EventListener onspeechstart;
+
+ EventListener onstart;
+
+ void abort();
+
+ void start();
+
+ void stop();
+}
+// 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 SpeechRecognitionAlternative {
final num confidence;
« no previous file with comments | « client/dom/templates/html/impl/impl_DocumentFragment.darttemplate ('k') | client/html/frog/html_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698