Index: lib/dom/frog/dom_frog.dart |
diff --git a/lib/dom/frog/dom_frog.dart b/lib/dom/frog/dom_frog.dart |
index 07ef5697b7b990b38e9178b82f1548afbc59b4a8..2f62f9df6a6691cfbf68123af043a5ffdb168b7c 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; |
@@ -1324,6 +1329,8 @@ class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWind |
final int outerWidth; |
+ final _PagePopupControllerJs pagePopupController; |
+ |
final int pageXOffset; |
final int pageYOffset; |
@@ -1467,8 +1474,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 +1800,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" { |
@@ -3056,6 +3059,8 @@ class _HTMLFieldSetElementJs extends _HTMLElementJs implements HTMLFieldSetEleme |
bool disabled; |
+ final _HTMLCollectionJs elements; |
+ |
final _HTMLFormElementJs form; |
String name; |
@@ -3282,7 +3287,7 @@ class _HTMLInputElementJs extends _HTMLElementJs implements HTMLInputElement nat |
bool disabled; |
- final _FileListJs files; |
+ _FileListJs files; |
final _HTMLFormElementJs form; |
@@ -3600,9 +3605,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" { |
@@ -4268,7 +4281,7 @@ class _IDBDatabaseJs extends _EventTargetJs implements IDBDatabase native "*IDBD |
class _IDBDatabaseExceptionJs extends _DOMTypeJs implements IDBDatabaseException native "*IDBDatabaseException" { |
- static final int ABORT_ERR = 8; |
+ static final int ABORT_ERR = 20; |
static final int CONSTRAINT_ERR = 4; |
@@ -4278,15 +4291,15 @@ class _IDBDatabaseExceptionJs extends _DOMTypeJs implements IDBDatabaseException |
static final int NOT_ALLOWED_ERR = 6; |
- static final int NOT_FOUND_ERR = 3; |
+ static final int NOT_FOUND_ERR = 8; |
static final int NO_ERR = 0; |
- static final int QUOTA_ERR = 11; |
+ static final int QUOTA_ERR = 22; |
static final int READ_ONLY_ERR = 9; |
- static final int TIMEOUT_ERR = 10; |
+ static final int TIMEOUT_ERR = 23; |
static final int TRANSACTION_INACTIVE_ERR = 7; |
@@ -4316,7 +4329,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; |
@@ -4353,9 +4366,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; |
@@ -4384,6 +4399,8 @@ class _IDBObjectStoreJs extends _DOMTypeJs implements IDBObjectStore native "*ID |
class _IDBRequestJs extends _EventTargetJs implements IDBRequest native "*IDBRequest" { |
+ final _DOMErrorJs error; |
+ |
final int errorCode; |
final String readyState; |
@@ -4413,6 +4430,8 @@ class _IDBTransactionJs extends _EventTargetJs implements IDBTransaction native |
final _IDBDatabaseJs db; |
+ final _DOMErrorJs error; |
+ |
final String mode; |
void abort() native; |
@@ -4799,6 +4818,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" { |
@@ -5758,6 +5785,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; |
@@ -8756,6 +8788,8 @@ class _SVGSVGElementJs extends _SVGElementJs implements SVGSVGElement native "*S |
final _SVGPointJs currentTranslate; |
+ final _SVGViewSpecJs currentView; |
+ |
final _SVGAnimatedLengthJs height; |
final num pixelUnitToMillimeterX; |
@@ -8766,7 +8800,7 @@ class _SVGSVGElementJs extends _SVGElementJs implements SVGSVGElement native "*S |
final num screenPixelToMillimeterY; |
- bool useCurrentView; |
+ final bool useCurrentView; |
final _SVGRectJs viewport; |
@@ -9324,27 +9358,23 @@ class _SVGViewElementJs extends _SVGElementJs implements SVGViewElement native " |
class _SVGViewSpecJs extends _DOMTypeJs implements SVGViewSpec native "*SVGViewSpec" { |
+ final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
+ |
final String preserveAspectRatioString; |
final _SVGTransformListJs transform; |
final String transformString; |
+ final _SVGAnimatedRectJs viewBox; |
+ |
final String viewBoxString; |
final _SVGElementJs viewTarget; |
final String viewTargetString; |
- // From SVGZoomAndPan |
- |
int zoomAndPan; |
- |
- // From SVGFitToViewBox |
- |
- final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
- |
- final _SVGAnimatedRectJs viewBox; |
} |
class _SVGZoomEventJs extends _UIEventJs implements SVGZoomEvent native "*SVGZoomEvent" { |
@@ -9426,8 +9456,6 @@ class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S |
String innerHTML; |
- final _DOMSelectionJs selection; |
- |
_ElementJs getElementById(String elementId) native; |
_NodeListJs getElementsByClassName(String className) native; |
@@ -9435,6 +9463,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" { |
@@ -11492,11 +11522,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; |
@@ -11555,7 +11580,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; |
} |
@@ -12784,8 +12811,6 @@ interface CSSRule { |
static final int WEBKIT_KEYFRAME_RULE = 8; |
- static final int WEBKIT_REGION_RULE = 10; |
- |
String cssText; |
final CSSRule parentRule; |
@@ -12978,6 +13003,8 @@ interface CanvasRenderingContext2D extends CanvasRenderingContext { |
final num webkitBackingStorePixelRatio; |
+ bool webkitImageSmoothingEnabled; |
+ |
List webkitLineDash; |
num webkitLineDashOffset; |
@@ -13351,6 +13378,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; |
@@ -13731,6 +13768,8 @@ interface Window extends EventTarget { |
final int outerWidth; |
+ final PagePopupController pagePopupController; |
+ |
final int pageXOffset; |
final int pageYOffset; |
@@ -13887,8 +13926,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 |
@@ -14297,8 +14334,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 |
@@ -15584,6 +15619,8 @@ interface HTMLFieldSetElement extends HTMLElement { |
bool disabled; |
+ final HTMLCollection elements; |
+ |
final HTMLFormElement form; |
String name; |
@@ -15858,7 +15895,7 @@ interface HTMLInputElement extends HTMLElement { |
bool disabled; |
- final FileList files; |
+ FileList files; |
final HTMLFormElement form; |
@@ -16216,9 +16253,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 |
@@ -17080,7 +17125,7 @@ interface IDBDatabase extends EventTarget { |
interface IDBDatabaseException { |
- static final int ABORT_ERR = 8; |
+ static final int ABORT_ERR = 20; |
static final int CONSTRAINT_ERR = 4; |
@@ -17090,15 +17135,15 @@ interface IDBDatabaseException { |
static final int NOT_ALLOWED_ERR = 6; |
- static final int NOT_FOUND_ERR = 3; |
+ static final int NOT_FOUND_ERR = 8; |
static final int NO_ERR = 0; |
- static final int QUOTA_ERR = 11; |
+ static final int QUOTA_ERR = 22; |
static final int READ_ONLY_ERR = 9; |
- static final int TIMEOUT_ERR = 10; |
+ static final int TIMEOUT_ERR = 23; |
static final int TRANSACTION_INACTIVE_ERR = 7; |
@@ -17138,7 +17183,7 @@ interface IDBFactory { |
interface IDBIndex { |
- final String keyPath; |
+ final /*IDBAny*/ keyPath; |
final bool multiEntry; |
@@ -17200,9 +17245,11 @@ interface IDBKeyRange default _IDBKeyRangeFactoryProvider { |
interface IDBObjectStore { |
+ final bool autoIncrement; |
+ |
final List<String> indexNames; |
- final String keyPath; |
+ final /*IDBAny*/ keyPath; |
final String name; |
@@ -17236,6 +17283,8 @@ interface IDBObjectStore { |
interface IDBRequest extends EventTarget { |
+ final DOMError error; |
+ |
final int errorCode; |
final String readyState; |
@@ -17270,6 +17319,8 @@ interface IDBTransaction extends EventTarget { |
final IDBDatabase db; |
+ final DOMError error; |
+ |
final String mode; |
void abort(); |
@@ -17479,7 +17530,7 @@ interface KeyboardEvent extends UIEvent { |
// WARNING: Do not edit - generated code. |
-interface LocalMediaStream extends MediaStream { |
+interface LocalMediaStream extends MediaStream, EventTarget { |
void stop(); |
} |
@@ -18453,6 +18504,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; |
@@ -21081,6 +21142,8 @@ interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalR |
final SVGPoint currentTranslate; |
+ final SVGViewSpec currentView; |
+ |
final SVGAnimatedLength height; |
final num pixelUnitToMillimeterX; |
@@ -21091,7 +21154,7 @@ interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalR |
final num screenPixelToMillimeterY; |
- bool useCurrentView; |
+ final bool useCurrentView; |
final SVGRect viewport; |
@@ -21519,7 +21582,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; |
@@ -21527,11 +21592,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 |
@@ -21663,8 +21732,6 @@ interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider |
String innerHTML; |
- final DOMSelection selection; |
- |
Element getElementById(String elementId); |
NodeList getElementsByClassName(String className); |
@@ -21672,6 +21739,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 |
@@ -23711,16 +23780,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; |
@@ -23789,7 +23848,9 @@ interface WebKitNamedFlow { |
final NodeList contentNodes; |
- final bool overflow; |
+ final String name; |
+ |
+ final bool overset; |
NodeList getRegionsByContentNode(Node contentNode); |
} |