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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 10590003: Roll IDL to multivm@615 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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/dom/frog/dom_frog.dart ('k') | lib/html/frog/html_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index c4962ea9b34a206ad31119c813baf8d52834f2d5..a0a201d90068630ab124acf091d8cd3a1922226e 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -654,6 +654,27 @@ class _BlobImpl extends _DOMWrapperBase implements Blob {
String get type() native "Blob_type_Getter";
+ Blob slice([start = _null, end = _null, contentType = _null]) {
+ if (contentType === _null) {
+ return _slice_1(start, end);
+ }
+ if (end === _null) {
+ return _slice_2(start);
+ }
+ if (start === _null) {
+ return _slice_3();
+ }
+ return _slice_4(start, end, contentType);
+ }
+
+ Blob _slice_1(start, end) native "Blob_slice_1_Callback";
+
+ Blob _slice_2(start) native "Blob_slice_2_Callback";
+
+ Blob _slice_3() native "Blob_slice_3_Callback";
+
+ Blob _slice_4(start, end, contentType) native "Blob_slice_4_Callback";
+
Blob webkitSlice([start = _null, end = _null, contentType = _null]) {
if (contentType === _null) {
return _webkitSlice_1(start, end);
@@ -4376,8 +4397,6 @@ class _ConsoleImpl extends _DOMWrapperBase implements Console {
MemoryInfo get memory() native "Console_memory_Getter";
- List<ScriptProfile> get profiles() native "Console_profiles_Getter";
-
void assertCondition(bool condition, Object arg) native "Console_assertCondition_Callback";
void count() native "Console_count_Callback";
@@ -6173,6 +6192,8 @@ class _DocumentImpl extends _NodeImpl implements Document
bool get webkitIsFullScreen() native "Document_webkitIsFullScreen_Getter";
+ Element get webkitPointerLockElement() native "Document_webkitPointerLockElement_Getter";
+
String get webkitVisibilityState() native "Document_webkitVisibilityState_Getter";
Range caretRangeFromPoint(int x, int y) native "Document_caretRangeFromPoint_Callback";
@@ -6227,6 +6248,8 @@ class _DocumentImpl extends _NodeImpl implements Document
void webkitExitFullscreen() native "Document_webkitExitFullscreen_Callback";
+ void webkitExitPointerLock() native "Document_webkitExitPointerLock_Callback";
+
// TODO(jacobr): implement all Element methods not on Document.
_ElementImpl query(String selectors) {
@@ -7186,6 +7209,8 @@ class _ElementImpl extends _NodeImpl implements Element {
void webkitRequestFullscreen() native "Element_webkitRequestFullscreen_Callback";
+ void webkitRequestPointerLock() native "Element_webkitRequestPointerLock_Callback";
+
}
final _START_TAG_REGEXP = const RegExp('<(\\w+)');
@@ -7233,7 +7258,7 @@ class _ElementFactoryProvider {
// only contains a head or body element.
element = temp.elements[tag == 'head' ? 0 : 1];
} else {
- throw new IllegalArgumentException('HTML had ${temp.elements.length} ' +
+ throw new IllegalArgumentException('HTML had ${temp.elements.length} '
'top level elements but 1 expected');
}
element.remove();
@@ -8636,6 +8661,8 @@ class _HTMLButtonElementImpl extends _HTMLElementImpl implements ButtonElement {
String get type() native "HTMLButtonElement_type_Getter";
+ void set type(String) native "HTMLButtonElement_type_Setter";
+
String get validationMessage() native "HTMLButtonElement_validationMessage_Getter";
ValidityState get validity() native "HTMLButtonElement_validity_Getter";
@@ -9524,6 +9551,8 @@ class _HTMLInputElementImpl extends _HTMLElementImpl implements InputElement {
void set valueAsNumber(num) native "HTMLInputElement_valueAsNumber_Setter";
+ EntryArray get webkitEntries() native "HTMLInputElement_webkitEntries_Getter";
+
bool get webkitGrammar() native "HTMLInputElement_webkitGrammar_Getter";
void set webkitGrammar(bool) native "HTMLInputElement_webkitGrammar_Setter";
@@ -10470,8 +10499,6 @@ class _HTMLSelectElementImpl extends _HTMLElementImpl implements SelectElement {
void set selectedIndex(int) native "HTMLSelectElement_selectedIndex_Setter";
- HTMLCollection get selectedOptions() native "HTMLSelectElement_selectedOptions_Getter";
-
int get size() native "HTMLSelectElement_size_Getter";
void set size(int) native "HTMLSelectElement_size_Setter";
@@ -18083,8 +18110,6 @@ class _ScriptProfileNodeImpl extends _DOMWrapperBase implements ScriptProfileNod
int get callUID() native "ScriptProfileNode_callUID_Getter";
- List<ScriptProfileNode> get children() native "ScriptProfileNode_children_Getter";
-
String get functionName() native "ScriptProfileNode_functionName_Getter";
int get lineNumber() native "ScriptProfileNode_lineNumber_Getter";
@@ -18099,6 +18124,8 @@ class _ScriptProfileNodeImpl extends _DOMWrapperBase implements ScriptProfileNod
bool get visible() native "ScriptProfileNode_visible_Getter";
+ List<ScriptProfileNode> children() native "ScriptProfileNode_children_Callback";
+
}
// 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
@@ -18331,7 +18358,7 @@ class _SpeechRecognitionAlternativeImpl extends _DOMWrapperBase implements Speec
// WARNING: Do not edit - generated code.
-class _SpeechRecognitionErrorImpl extends _DOMWrapperBase implements SpeechRecognitionError {
+class _SpeechRecognitionErrorImpl extends _EventImpl implements SpeechRecognitionError {
int get code() native "SpeechRecognitionError_code_Getter";
@@ -18346,8 +18373,6 @@ class _SpeechRecognitionErrorImpl extends _DOMWrapperBase implements SpeechRecog
class _SpeechRecognitionEventImpl extends _EventImpl implements SpeechRecognitionEvent {
- SpeechRecognitionError get error() native "SpeechRecognitionEvent_error_Getter";
-
SpeechRecognitionResult get result() native "SpeechRecognitionEvent_result_Getter";
SpeechRecognitionResultList get resultHistory() native "SpeechRecognitionEvent_resultHistory_Getter";
@@ -19696,6 +19721,15 @@ class _WebGLDebugShadersImpl extends _DOMWrapperBase implements WebGLDebugShader
// WARNING: Do not edit - generated code.
+class _WebGLDepthTextureImpl extends _DOMWrapperBase implements WebGLDepthTexture {
+
+}
+// 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.
+
class _WebGLFramebufferImpl extends _DOMWrapperBase implements WebGLFramebuffer {
}
@@ -20795,10 +20829,6 @@ class _XMLHttpRequestImpl extends _DOMWrapperBase implements XMLHttpRequest {
return _on;
}
- bool get asBlob() native "XMLHttpRequest_asBlob_Getter";
-
- void set asBlob(bool) native "XMLHttpRequest_asBlob_Setter";
-
int get readyState() native "XMLHttpRequest_readyState_Getter";
Object get response() native "XMLHttpRequest_response_Getter";
@@ -22272,6 +22302,9 @@ interface Blob {
/** @domName Blob.type */
final String type;
+ /** @domName Blob.slice */
+ Blob slice([int start, int end, String contentType]);
+
/** @domName Blob.webkitSlice */
Blob webkitSlice([int start, int end, String contentType]);
}
@@ -22377,7 +22410,7 @@ interface ButtonElement extends Element default _Elements {
String name;
/** @domName HTMLButtonElement.type */
- final String type;
+ String type;
/** @domName HTMLButtonElement.validationMessage */
final String validationMessage;
@@ -25233,9 +25266,6 @@ interface Console {
/** @domName Console.memory */
final MemoryInfo memory;
- /** @domName Console.profiles */
- final List<ScriptProfile> profiles;
-
/** @domName Console.assertCondition */
void assertCondition(bool condition, Object arg);
@@ -26375,6 +26405,9 @@ interface Document extends HtmlElement {
/** @domName Document.webkitIsFullScreen */
final bool webkitIsFullScreen;
+ /** @domName Document.webkitPointerLockElement */
+ final Element webkitPointerLockElement;
+
/** @domName Document.webkitVisibilityState */
final String webkitVisibilityState;
@@ -26456,6 +26489,9 @@ interface Document extends HtmlElement {
/** @domName Document.webkitExitFullscreen */
void webkitExitFullscreen();
+ /** @domName Document.webkitExitPointerLock */
+ void webkitExitPointerLock();
+
}
interface DocumentEvents extends ElementEvents {
@@ -26930,6 +26966,9 @@ interface Element extends Node, NodeSelector default _ElementFactoryProvider {
/** @domName Element.webkitRequestFullscreen */
void webkitRequestFullscreen();
+ /** @domName Element.webkitRequestPointerLock */
+ void webkitRequestPointerLock();
+
}
interface ElementEvents extends Events {
@@ -29092,6 +29131,9 @@ interface InputElement extends Element default _Elements {
/** @domName HTMLInputElement.valueAsNumber */
num valueAsNumber;
+ /** @domName HTMLInputElement.webkitEntries */
+ final EntryArray webkitEntries;
+
/** @domName HTMLInputElement.webkitGrammar */
bool webkitGrammar;
@@ -35518,9 +35560,6 @@ interface ScriptProfileNode {
/** @domName ScriptProfileNode.callUID */
final int callUID;
- /** @domName ScriptProfileNode.children */
- final List<ScriptProfileNode> children;
-
/** @domName ScriptProfileNode.functionName */
final String functionName;
@@ -35541,6 +35580,9 @@ interface ScriptProfileNode {
/** @domName ScriptProfileNode.visible */
final bool visible;
+
+ /** @domName ScriptProfileNode.children */
+ List<ScriptProfileNode> children();
}
// 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
@@ -35581,9 +35623,6 @@ interface SelectElement extends Element {
/** @domName HTMLSelectElement.selectedIndex */
int selectedIndex;
- /** @domName HTMLSelectElement.selectedOptions */
- final HTMLCollection selectedOptions;
-
/** @domName HTMLSelectElement.size */
int size;
@@ -35932,7 +35971,7 @@ interface SpeechRecognitionAlternative {
// WARNING: Do not edit - generated code.
/// @domName SpeechRecognitionError
-interface SpeechRecognitionError {
+interface SpeechRecognitionError extends Event {
static final int ABORTED = 2;
@@ -35967,9 +36006,6 @@ interface SpeechRecognitionError {
/// @domName SpeechRecognitionEvent
interface SpeechRecognitionEvent extends Event {
- /** @domName SpeechRecognitionEvent.error */
- final SpeechRecognitionError error;
-
/** @domName SpeechRecognitionEvent.result */
final SpeechRecognitionResult result;
@@ -37361,6 +37397,15 @@ interface WebGLDebugShaders {
// WARNING: Do not edit - generated code.
+/// @domName WebGLDepthTexture
+interface WebGLDepthTexture {
+}
+// 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 WebGLFramebuffer
interface WebGLFramebuffer {
}
@@ -39331,9 +39376,6 @@ interface XMLHttpRequest extends EventTarget default _XMLHttpRequestFactoryProvi
static final int UNSENT = 0;
- /** @domName XMLHttpRequest.asBlob */
- bool asBlob;
-
/** @domName XMLHttpRequest.readyState */
final int readyState;
@@ -40403,7 +40445,8 @@ class _SVGElementFactoryProvider {
parentTag.innerHTML = svg;
if (parentTag.elements.length == 1) return parentTag.nodes.removeLast();
- throw new IllegalArgumentException('SVG had ${parentTag.elements.length} '
+ throw new IllegalArgumentException(
+ 'SVG had ${parentTag.elements.length} '
'top-level elements but 1 expected');
}
}
« no previous file with comments | « lib/dom/frog/dom_frog.dart ('k') | lib/html/frog/html_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698