Chromium Code Reviews| Index: Source/WebCore/bindings/dart/resources/dom_public.dart |
| diff --git a/Source/WebCore/bindings/dart/resources/dom_public.dart b/Source/WebCore/bindings/dart/resources/dom_public.dart |
| deleted file mode 100644 |
| index 30121c1cf25164ee3f1550d246098bae51633e84..0000000000000000000000000000000000000000 |
| --- a/Source/WebCore/bindings/dart/resources/dom_public.dart |
| +++ /dev/null |
| @@ -1,115 +0,0 @@ |
| -interface EventTarget {} |
| - |
| -// Pure interfaces. |
| -interface ElementTimeControl { |
| - void beginElement(); |
| - void beginElementAt(num offset); |
| - void endElement(); |
| - void endElementAt(num offset); |
| -} |
| - |
| -interface SVGURIReference { |
| - SVGAnimatedString get href(); |
| -} |
| - |
| -interface SVGExternalResourcesRequired { |
| - SVGAnimatedBoolean get externalResourcesRequired(); |
| -} |
| - |
| -interface SVGFilterPrimitiveStandardAttributes extends SVGStylable { |
| - SVGAnimatedLength get x(); |
| - SVGAnimatedLength get y(); |
| - SVGAnimatedLength get width(); |
| - SVGAnimatedLength get height(); |
| - SVGAnimatedString get result(); |
| -} |
| - |
| -interface SVGFitToViewBox { |
| - SVGAnimatedRect get viewBox(); |
| - SVGAnimatedPreserveAspectRatio get preserveAspectRatio(); |
| -} |
| - |
| -interface SVGLocatable { |
| - SVGElement get nearestViewportElement(); |
| - SVGElement get farthestViewportElement(); |
| - SVGRect getBBox(); |
| - SVGMatrix getCTM(); |
| - SVGMatrix getScreenCTM(); |
| - SVGMatrix getTransformToElement(SVGElement element); |
| -} |
| - |
| -interface SVGLangSpace { |
| - String get xmllang(); |
| - set xmllang(String); |
| - String get xmlspace(); |
| - set xmlspace(String); |
| -} |
| - |
| -interface SVGStylable { |
| - SVGAnimatedString get className(); |
| - CSSStyleDeclaration get style(); |
| - CSSValue getPresentationAttribute(String name); |
| -} |
| - |
| -interface SVGTests { |
| - SVGStringList get requiredFeatures(); |
| - SVGStringList get requiredExtensions(); |
| - SVGStringList get systemLanguage(); |
| - bool hasExtension(String extension); |
| -} |
| - |
| -interface SVGTransformable extends SVGLocatable { |
| - SVGAnimatedTransformList get transform(); |
| -} |
| - |
| -interface SVGViewSpec extends SVGZoomAndPan { |
| - SVGTransformList get transform(); |
| - SVGElement get viewTarget(); |
| - String get viewBoxString(); |
| - String get preserveAspectRatioString(); |
| - String get transformString(); |
| - String get viewTargetString(); |
| -} |
| - |
| -interface SVGZoomAndPan { |
| - static final int SVG_ZOOMANDPAN_UNKNOWN = 0; |
| - static final int SVG_ZOOMANDPAN_DISABLE = 1; |
| - static final int SVG_ZOOMANDPAN_MAGNIFY = 2; |
| - int get zoomAndPan(); |
| - set zoomAndPan(int); |
| -} |
| - |
| -Window get window() => Utils.window(); |
| - |
| -// This API is exploratory. |
| -spawnDomIsolate(Window targetWindow, String entryPoint) { |
|
antonm
2012/01/25 18:56:40
have you ran LTs? I wonder where this function is
podivilov
2012/01/25 19:04:05
See http://codereview.chromium.org/9290020/.
|
| - if (targetWindow is! DOMWindowImplementation && targetWindow is! DOMWindowCrossFrameImplementation) { |
| - throw 'Bad window argument: $targetWindow'; |
| - } |
| - final result = new Completer<SendPort>(); |
| - final port = Utils.spawnDomIsolate(targetWindow, entryPoint); |
| - window.setTimeout(() { result.complete(port); }, 0); |
| - return result.future; |
| -} |
| - |
| -// layoutTestController implementation. |
| -// FIXME: provide a separate lib for layoutTestController. |
| - |
| -var _layoutTestController; |
| - |
| -LayoutTestController get layoutTestController() { |
| - if (_layoutTestController === null) |
| - _layoutTestController = new LayoutTestController._(NPObject.retrieve("layoutTestController")); |
| - return _layoutTestController; |
| -} |
| - |
| -class LayoutTestController { |
| - final NPObject _npObject; |
| - |
| - LayoutTestController._(this._npObject); |
| - |
| - dumpAsText() => _npObject.invoke('dumpAsText'); |
| - notifyDone() => _npObject.invoke('notifyDone'); |
| - setCanOpenWindows() => _npObject.invoke('setCanOpenWindows'); |
| - waitUntilDone() => _npObject.invoke('waitUntilDone'); |
| -} |