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

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

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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/html/dartium/html_dartium.dart ('k') | client/html/release/html.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/frog/html_frog.dart
diff --git a/client/html/frog/html_frog.dart b/client/html/frog/html_frog.dart
index d7fd7d6bff3734d239d81466e34f59b80d6fda41..b5d4aa7da3027fcf11dfe10a6410ecede099d88c 100644
--- a/client/html/frog/html_frog.dart
+++ b/client/html/frog/html_frog.dart
@@ -272,6 +272,14 @@ class _AudioBufferImpl implements AudioBuffer native "*AudioBuffer" {
class _AudioBufferSourceNodeImpl extends _AudioSourceNodeImpl implements AudioBufferSourceNode native "*AudioBufferSourceNode" {
+ static final int FINISHED_STATE = 3;
+
+ static final int PLAYING_STATE = 2;
+
+ static final int SCHEDULED_STATE = 1;
+
+ static final int UNSCHEDULED_STATE = 0;
+
_AudioBufferImpl buffer;
final _AudioGainImpl gain;
@@ -282,6 +290,8 @@ class _AudioBufferSourceNodeImpl extends _AudioSourceNodeImpl implements AudioBu
final _AudioParamImpl playbackRate;
+ final int playbackState;
+
void noteGrainOn(num when, num grainOffset, num grainDuration) native;
void noteOff(num when) native;
@@ -297,6 +307,8 @@ class _AudioChannelSplitterImpl extends _AudioNodeImpl implements AudioChannelSp
class _AudioContextImpl implements AudioContext native "*AudioContext" {
+ final int activeSourceCount;
+
final num currentTime;
final _AudioDestinationNodeImpl destination;
@@ -4077,8 +4089,6 @@ class _ConsoleImpl
final _MemoryInfoImpl memory;
- final List profiles;
-
void assertCondition(bool condition, Object arg) native;
void count() native;
@@ -4717,6 +4727,10 @@ class _DocumentImpl extends _ElementImpl
bool get webkitFullScreenKeyboardInputAllowed() native "return this.parentNode.webkitFullScreenKeyboardInputAllowed;";
+ _ElementImpl get webkitFullscreenElement() native "return this.parentNode.webkitFullscreenElement;";
+
+ bool get webkitFullscreenEnabled() native "return this.parentNode.webkitFullscreenEnabled;";
+
bool get webkitHidden() native "return this.parentNode.webkitHidden;";
bool get webkitIsFullScreen() native "return this.parentNode.webkitIsFullScreen;";
@@ -4761,6 +4775,8 @@ class _DocumentImpl extends _ElementImpl
void webkitCancelFullScreen() native "this.parentNode.webkitCancelFullScreen();";
+ void webkitExitFullscreen() native "this.parentNode.webkitExitFullscreen();";
+
_WebKitNamedFlowImpl webkitGetFlowByName(String name) native "return this.parentNode.webkitGetFlowByName(name);";
@@ -5130,6 +5146,7 @@ class _DocumentFragmentImpl extends _NodeImpl implements DocumentFragment native
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.
@@ -5933,6 +5950,8 @@ class _ElementImpl extends _NodeImpl implements Element native "*Element" {
void webkitRequestFullScreen(int flags) native;
+ void webkitRequestFullscreen() native;
+
}
class _ElementEventsImpl extends _EventsImpl implements ElementEvents {
@@ -6377,10 +6396,6 @@ class _FieldSetElementImpl extends _ElementImpl implements FieldSetElement nativ
class _FileImpl extends _BlobImpl implements File native "*File" {
- final String fileName;
-
- final int fileSize;
-
final Date lastModifiedDate;
final String name;
@@ -7347,6 +7362,13 @@ class _IFrameElementImpl extends _ElementImpl implements IFrameElement native "*
_SVGDocumentImpl getSVGDocument() native;
}
+class _IceCandidateImpl implements IceCandidate native "*IceCandidate" {
+
+ final String label;
+
+ String toSdp() native;
+}
+
class _ImageDataImpl implements ImageData native "*ImageData" {
final _CanvasPixelArrayImpl data;
@@ -8397,8 +8419,6 @@ class _MetadataImpl implements Metadata native "*Metadata" {
class _MeterElementImpl extends _ElementImpl implements MeterElement native "*HTMLMeterElement" {
- final _FormElementImpl form;
-
num high;
final _NodeListImpl labels;
@@ -9001,8 +9021,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');
@@ -9319,8 +9337,6 @@ class _ProcessingInstructionImpl extends _NodeImpl implements ProcessingInstruct
class _ProgressElementImpl extends _ElementImpl implements ProgressElement native "*HTMLProgressElement" {
- final _FormElementImpl form;
-
final _NodeListImpl labels;
num max;
@@ -13006,6 +13022,8 @@ class _ScriptElementImpl extends _ElementImpl implements ScriptElement native "*
String charset;
+ String crossOrigin;
+
bool defer;
String event;
@@ -13094,6 +13112,13 @@ class _SelectElementImpl extends _ElementImpl implements SelectElement native "*
void setCustomValidity(String error) native;
}
+class _SessionDescriptionImpl implements SessionDescription native "*SessionDescription" {
+
+ void addCandidate(_IceCandidateImpl candidate) native;
+
+ String toSdp() native;
+}
+
class _ShadowElementImpl extends _ElementImpl implements ShadowElement native "*HTMLShadowElement" {
}
@@ -13175,6 +13200,45 @@ class _SpeechInputResultListImpl implements SpeechInputResultList native "*Speec
_SpeechInputResultImpl item(int index) native;
}
+class _SpeechRecognitionImpl implements SpeechRecognition native "*SpeechRecognition" {
+
+ bool continuous;
+
+ _SpeechGrammarListImpl 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() native;
+
+ void start() native;
+
+ void stop() native;
+}
+
class _SpeechRecognitionAlternativeImpl implements SpeechRecognitionAlternative native "*SpeechRecognitionAlternative" {
final num confidence;
@@ -16099,6 +16163,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) native
+ '''return new IceCandidate(label, 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() native
'''return new MediaController();''';
@@ -16138,6 +16210,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) native
+ '''return new SessionDescription(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) native
'''return new ShadowRoot(host);''';
@@ -16172,6 +16252,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() native
+ '''return new 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, bool pauseOnExit]) native '''
@@ -16501,6 +16589,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;
@@ -16511,6 +16607,8 @@ interface AudioBufferSourceNode extends AudioSourceNode {
final AudioParam playbackRate;
+ final int playbackState;
+
void noteGrainOn(num when, num grainOffset, num grainDuration);
void noteOff(num when);
@@ -16541,6 +16639,8 @@ interface AudioChannelSplitter extends AudioNode {
interface AudioContext {
+ final int activeSourceCount;
+
final num currentTime;
final AudioDestinationNode destination;
@@ -19576,8 +19676,6 @@ interface Console {
final MemoryInfo memory;
- final List profiles;
-
void assertCondition(bool condition, Object arg);
void count();
@@ -20397,6 +20495,10 @@ interface Document extends HtmlElement {
final bool webkitFullScreenKeyboardInputAllowed;
+ final Element webkitFullscreenElement;
+
+ final bool webkitFullscreenEnabled;
+
final bool webkitHidden;
final bool webkitIsFullScreen;
@@ -20431,6 +20533,8 @@ interface Document extends HtmlElement {
void webkitCancelFullScreen();
+ void webkitExitFullscreen();
+
WebKitNamedFlow webkitGetFlowByName(String name);
}
@@ -20972,6 +21076,8 @@ interface Element extends Node, NodeSelector default _ElementFactoryProvider {
void webkitRequestFullScreen(int flags);
+ void webkitRequestFullscreen();
+
}
interface ElementEvents extends Events {
@@ -21459,10 +21565,6 @@ interface FieldSetElement extends Element {
interface File extends Blob {
- final String fileName;
-
- final int fileSize;
-
final Date lastModifiedDate;
final String name;
@@ -22441,6 +22543,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;
@@ -23392,8 +23508,6 @@ typedef bool MetadataCallback(Metadata metadata);
interface MeterElement extends Element {
- final FormElement form;
-
num high;
final NodeList labels;
@@ -23799,8 +23913,6 @@ interface NotificationEvents extends Events {
EventListenerList get close();
- EventListenerList get display();
-
EventListenerList get error();
EventListenerList get show();
@@ -24253,8 +24365,6 @@ interface ProcessingInstruction extends Node {
interface ProgressElement extends Element {
- final FormElement form;
-
final NodeList labels;
num max;
@@ -27261,6 +27371,8 @@ interface ScriptElement extends Element {
String charset;
+ String crossOrigin;
+
bool defer;
String event;
@@ -27369,6 +27481,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
@@ -27520,6 +27646,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/html/dartium/html_dartium.dart ('k') | client/html/release/html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698