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

Unified Diff: lib/dom/frog/dom_frog.dart

Issue 10441106: Roll IDL to multivm@567 (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 | « lib/dom/dom.dart ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/frog/dom_frog.dart
diff --git a/lib/dom/frog/dom_frog.dart b/lib/dom/frog/dom_frog.dart
index 594e5350ff17847d123cb92e9e1fd7eb0bd967a8..1980bb9f6e232e695bd3bedf66676a9d4d3ceb81 100644
--- a/lib/dom/frog/dom_frog.dart
+++ b/lib/dom/frog/dom_frog.dart
@@ -480,8 +480,6 @@ class _CSSRuleJs extends _DOMTypeJs implements CSSRule native "*CSSRule" {
static final int WEBKIT_KEYFRAME_RULE = 8;
- static final int WEBKIT_REGION_RULE = 10;
-
String cssText;
final _CSSRuleJs parentRule;
@@ -619,6 +617,8 @@ class _CanvasRenderingContext2DJs extends _CanvasRenderingContextJs implements C
final num webkitBackingStorePixelRatio;
+ bool webkitImageSmoothingEnabled;
+
List webkitLineDash;
num webkitLineDashOffset;
@@ -927,6 +927,11 @@ class _DOMApplicationCacheJs extends _EventTargetJs implements DOMApplicationCac
void update() native;
}
+class _DOMErrorJs extends _DOMTypeJs implements DOMError native "*DOMError" {
+
+ final String name;
+}
+
class _DOMExceptionJs extends _DOMTypeJs implements DOMException native "*DOMException" {
static final int ABORT_ERR = 20;
@@ -1222,6 +1227,9 @@ class _DOMStringListJs extends _DOMTypeJs implements DOMStringList native "*DOMS
String item(int index) native;
}
+class _DOMStringMapJs extends _DOMTypeJs implements DOMStringMap native "*DOMStringMap" {
+}
+
class _DOMTokenListJs extends _DOMTypeJs implements DOMTokenList native "*DOMTokenList" {
final int length;
@@ -1324,6 +1332,8 @@ class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWind
final int outerWidth;
+ final _PagePopupControllerJs pagePopupController;
+
final int pageXOffset;
final int pageYOffset;
@@ -1467,8 +1477,6 @@ class _DataTransferItemJs extends _DOMTypeJs implements DataTransferItem native
_BlobJs getAsFile() native;
void getAsString([StringCallback callback = null]) native;
-
- void webkitGetAsEntry([EntryCallback callback = null]) native;
}
class _DataTransferItemListJs extends _DOMTypeJs implements DataTransferItemList native "*DataTransferItemList" {
@@ -1795,8 +1803,6 @@ class _DocumentJs extends _NodeJs implements Document native "*Document" {
void webkitCancelFullScreen() native;
void webkitExitFullscreen() native;
-
- _WebKitNamedFlowJs webkitGetFlowByName(String name) native;
}
class _DocumentFragmentJs extends _NodeJs implements DocumentFragment native "*DocumentFragment" {
@@ -3080,6 +3086,8 @@ class _HTMLFieldSetElementJs extends _HTMLElementJs implements HTMLFieldSetEleme
bool disabled;
+ final _HTMLCollectionJs elements;
+
final _HTMLFormElementJs form;
String name;
@@ -3624,9 +3632,17 @@ class _HTMLMediaElementJs extends _HTMLElementJs implements HTMLMediaElement nat
void webkitGenerateKeyRequest(String keySystem, [_Uint8ArrayJs initData = null]) native;
- void webkitSourceAppend(_Uint8ArrayJs data) native;
+ void webkitSourceAbort(String id) native;
+
+ void webkitSourceAddId(String id, String type) native;
+
+ void webkitSourceAppend(String id, _Uint8ArrayJs data) native;
+
+ _TimeRangesJs webkitSourceBuffered(String id) native;
void webkitSourceEndOfStream(int status) native;
+
+ void webkitSourceRemoveId(String id) native;
}
class _HTMLMenuElementJs extends _HTMLElementJs implements HTMLMenuElement native "*HTMLMenuElement" {
@@ -4340,7 +4356,7 @@ class _IDBFactoryJs extends _DOMTypeJs implements IDBFactory native "*IDBFactory
class _IDBIndexJs extends _DOMTypeJs implements IDBIndex native "*IDBIndex" {
- final String keyPath;
+ final keyPath;
final bool multiEntry;
@@ -4377,9 +4393,11 @@ class _IDBKeyRangeJs extends _DOMTypeJs implements IDBKeyRange native "*IDBKeyRa
class _IDBObjectStoreJs extends _DOMTypeJs implements IDBObjectStore native "*IDBObjectStore" {
+ final bool autoIncrement;
+
final List<String> indexNames;
- final String keyPath;
+ final keyPath;
final String name;
@@ -4823,6 +4841,14 @@ class _KeyboardEventJs extends _UIEventJs implements KeyboardEvent native "*Keyb
class _LocalMediaStreamJs extends _MediaStreamJs implements LocalMediaStream native "*LocalMediaStream" {
void stop() native;
+
+ // From EventTarget
+
+ void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
+
+ bool dispatchEvent(_EventJs event) native;
+
+ void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
}
class _LocationJs extends _DOMTypeJs implements Location native "*Location" {
@@ -5794,6 +5820,11 @@ class _OverflowEventJs extends _EventJs implements OverflowEvent native "*Overfl
final bool verticalOverflow;
}
+class _PagePopupControllerJs extends _DOMTypeJs implements PagePopupController native "*PagePopupController" {
+
+ void setValueAndClosePopup(int numberValue, String stringValue) native;
+}
+
class _PageTransitionEventJs extends _EventJs implements PageTransitionEvent native "*PageTransitionEvent" {
final bool persisted;
@@ -8839,6 +8870,8 @@ class _SVGSVGElementJs extends _SVGElementJs implements SVGSVGElement native "*S
final _SVGPointJs currentTranslate;
+ final _SVGViewSpecJs currentView;
+
final _SVGAnimatedLengthJs height;
final num pixelUnitToMillimeterX;
@@ -8849,7 +8882,7 @@ class _SVGSVGElementJs extends _SVGElementJs implements SVGSVGElement native "*S
final num screenPixelToMillimeterY;
- bool useCurrentView;
+ final bool useCurrentView;
final _SVGRectJs viewport;
@@ -9435,7 +9468,9 @@ class _SVGViewElementJs extends _SVGElementJs implements SVGViewElement native "
int zoomAndPan;
}
-class _SVGViewSpecJs extends _SVGZoomAndPanJs implements SVGViewSpec native "*SVGViewSpec" {
+class _SVGViewSpecJs extends _DOMTypeJs implements SVGViewSpec native "*SVGViewSpec" {
+
+ final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
final String preserveAspectRatioString;
@@ -9443,17 +9478,15 @@ class _SVGViewSpecJs extends _SVGZoomAndPanJs implements SVGViewSpec native "*SV
final String transformString;
+ final _SVGAnimatedRectJs viewBox;
+
final String viewBoxString;
final _SVGElementJs viewTarget;
final String viewTargetString;
- // From SVGFitToViewBox
-
- final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
-
- final _SVGAnimatedRectJs viewBox;
+ int zoomAndPan;
}
class _SVGZoomAndPanJs extends _DOMTypeJs implements SVGZoomAndPan native "*SVGZoomAndPan" {
@@ -9546,8 +9579,6 @@ class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S
String innerHTML;
- final _DOMSelectionJs selection;
-
_ElementJs getElementById(String elementId) native;
_NodeListJs getElementsByClassName(String className) native;
@@ -9555,6 +9586,8 @@ class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S
_NodeListJs getElementsByTagName(String tagName) native;
_NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) native;
+
+ _DOMSelectionJs getSelection() native;
}
class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native "*SharedWorker" {
@@ -11612,11 +11645,6 @@ class _WebKitCSSMatrixJs extends _DOMTypeJs implements WebKitCSSMatrix native "*
_WebKitCSSMatrixJs translate(num x, num y, num z) native;
}
-class _WebKitCSSRegionRuleJs extends _CSSRuleJs implements WebKitCSSRegionRule native "*WebKitCSSRegionRule" {
-
- final _CSSRuleListJs cssRules;
-}
-
class _WebKitCSSTransformValueJs extends _CSSValueListJs implements WebKitCSSTransformValue native "*WebKitCSSTransformValue" {
static final int CSS_MATRIX = 11;
@@ -11675,7 +11703,9 @@ class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "*
final _NodeListJs contentNodes;
- final bool overflow;
+ final String name;
+
+ final bool overset;
_NodeListJs getRegionsByContentNode(_NodeJs contentNode) native;
}
@@ -12904,8 +12934,6 @@ interface CSSRule {
static final int WEBKIT_KEYFRAME_RULE = 8;
- static final int WEBKIT_REGION_RULE = 10;
-
String cssText;
final CSSRule parentRule;
@@ -13098,6 +13126,8 @@ interface CanvasRenderingContext2D extends CanvasRenderingContext {
final num webkitBackingStorePixelRatio;
+ bool webkitImageSmoothingEnabled;
+
List webkitLineDash;
num webkitLineDashOffset;
@@ -13471,6 +13501,16 @@ interface DOMApplicationCache extends ApplicationCache {
// WARNING: Do not edit - generated code.
+interface DOMError {
+
+ final String name;
+}
+// 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 DOMException {
static final int ABORT_ERR = 20;
@@ -13757,6 +13797,14 @@ interface DOMStringList extends List<String> {
// WARNING: Do not edit - generated code.
+interface DOMStringMap {
+}
+// 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 DOMTokenList {
final int length;
@@ -13843,6 +13891,8 @@ interface Window extends EventTarget {
final int outerWidth;
+ final PagePopupController pagePopupController;
+
final int pageXOffset;
final int pageYOffset;
@@ -13999,8 +14049,6 @@ interface DataTransferItem {
Blob getAsFile();
void getAsString([StringCallback callback]);
-
- void webkitGetAsEntry([EntryCallback 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
@@ -14409,8 +14457,6 @@ interface Document extends Node, NodeSelector {
void webkitCancelFullScreen();
void webkitExitFullscreen();
-
- WebKitNamedFlow webkitGetFlowByName(String name);
}
// 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
@@ -15696,6 +15742,8 @@ interface HTMLFieldSetElement extends HTMLElement {
bool disabled;
+ final HTMLCollection elements;
+
final HTMLFormElement form;
String name;
@@ -16328,9 +16376,17 @@ interface HTMLMediaElement extends HTMLElement {
void webkitGenerateKeyRequest(String keySystem, [Uint8Array initData]);
- void webkitSourceAppend(Uint8Array data);
+ void webkitSourceAbort(String id);
+
+ void webkitSourceAddId(String id, String type);
+
+ void webkitSourceAppend(String id, Uint8Array data);
+
+ TimeRanges webkitSourceBuffered(String id);
void webkitSourceEndOfStream(int status);
+
+ void webkitSourceRemoveId(String id);
}
// 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
@@ -17250,7 +17306,7 @@ interface IDBFactory {
interface IDBIndex {
- final String keyPath;
+ final /*IDBAny*/ keyPath;
final bool multiEntry;
@@ -17312,9 +17368,11 @@ interface IDBKeyRange default _IDBKeyRangeFactoryProvider {
interface IDBObjectStore {
+ final bool autoIncrement;
+
final List<String> indexNames;
- final String keyPath;
+ final /*IDBAny*/ keyPath;
final String name;
@@ -17591,7 +17649,7 @@ interface KeyboardEvent extends UIEvent {
// WARNING: Do not edit - generated code.
-interface LocalMediaStream extends MediaStream {
+interface LocalMediaStream extends MediaStream, EventTarget {
void stop();
}
@@ -18565,6 +18623,16 @@ interface OverflowEvent extends Event {
// WARNING: Do not edit - generated code.
+interface PagePopupController {
+
+ void setValueAndClosePopup(int numberValue, String stringValue);
+}
+// 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 PageTransitionEvent extends Event {
final bool persisted;
@@ -21193,6 +21261,8 @@ interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalR
final SVGPoint currentTranslate;
+ final SVGViewSpec currentView;
+
final SVGAnimatedLength height;
final num pixelUnitToMillimeterX;
@@ -21203,7 +21273,7 @@ interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalR
final num screenPixelToMillimeterY;
- bool useCurrentView;
+ final bool useCurrentView;
final SVGRect viewport;
@@ -21631,7 +21701,9 @@ interface SVGViewElement extends SVGElement, SVGExternalResourcesRequired, SVGFi
// WARNING: Do not edit - generated code.
-interface SVGViewSpec extends SVGZoomAndPan, SVGFitToViewBox {
+interface SVGViewSpec {
+
+ final SVGAnimatedPreserveAspectRatio preserveAspectRatio;
final String preserveAspectRatioString;
@@ -21639,11 +21711,15 @@ interface SVGViewSpec extends SVGZoomAndPan, SVGFitToViewBox {
final String transformString;
+ final SVGAnimatedRect viewBox;
+
final String viewBoxString;
final SVGElement viewTarget;
final String viewTargetString;
+
+ int zoomAndPan;
}
// 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
@@ -21775,8 +21851,6 @@ interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
String innerHTML;
- final DOMSelection selection;
-
Element getElementById(String elementId);
NodeList getElementsByClassName(String className);
@@ -21784,6 +21858,8 @@ interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
NodeList getElementsByTagName(String tagName);
NodeList getElementsByTagNameNS(String namespaceURI, String localName);
+
+ DOMSelection getSelection();
}
// 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
@@ -23823,16 +23899,6 @@ interface WebKitCSSMatrix default _WebKitCSSMatrixFactoryProvider {
// WARNING: Do not edit - generated code.
-interface WebKitCSSRegionRule extends CSSRule {
-
- final CSSRuleList cssRules;
-}
-// 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 WebKitCSSTransformValue extends CSSValueList {
static final int CSS_MATRIX = 11;
@@ -23901,7 +23967,9 @@ interface WebKitNamedFlow {
final NodeList contentNodes;
- final bool overflow;
+ final String name;
+
+ final bool overset;
NodeList getRegionsByContentNode(Node contentNode);
}
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698