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

Side by Side Diff: client/html/release/html.dart

Issue 8919029: Add a couple useful SVG constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Oops, don't include the next patch in this one Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/html/htmlimpl.dart ('k') | client/html/release/htmlimpl.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('html'); 1 #library('html');
2 2
3 #import('dart:dom', prefix:'dom'); 3 #import('dart:dom', prefix:'dom');
4 #import('dart:htmlimpl'); 4 #import('dart:htmlimpl');
5 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 5 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6 // for details. All rights reserved. Use of this source code is governed by a 6 // for details. All rights reserved. Use of this source code is governed by a
7 // BSD-style license that can be found in the LICENSE file. 7 // BSD-style license that can be found in the LICENSE file.
8 8
9 // DO NOT EDIT 9 // DO NOT EDIT
10 // Auto-generated Dart HTML library. 10 // Auto-generated Dart HTML library.
(...skipping 5112 matching lines...) Expand 10 before | Expand all | Expand 10 after
5123 // WARNING: Do not edit - generated code. 5123 // WARNING: Do not edit - generated code.
5124 5124
5125 interface SVGDescElement extends SVGElement, SVGLangSpace, SVGStylable { 5125 interface SVGDescElement extends SVGElement, SVGLangSpace, SVGStylable {
5126 } 5126 }
5127 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 5127 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5128 // for details. All rights reserved. Use of this source code is governed by a 5128 // for details. All rights reserved. Use of this source code is governed by a
5129 // BSD-style license that can be found in the LICENSE file. 5129 // BSD-style license that can be found in the LICENSE file.
5130 5130
5131 // WARNING: Do not edit - generated code. 5131 // WARNING: Do not edit - generated code.
5132 5132
5133 interface SVGElement extends Element {
5134
5135 String get id();
5136
5137 void set id(String value);
5138
5139 SVGSVGElement get ownerSVGElement();
5140
5141 SVGElement get viewportElement();
5142
5143 String get xmlbase();
5144
5145 void set xmlbase(String value);
5146 }
5147 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5148 // for details. All rights reserved. Use of this source code is governed by a
5149 // BSD-style license that can be found in the LICENSE file.
5150
5151 // WARNING: Do not edit - generated code.
5152
5153 interface SVGElementInstanceList { 5133 interface SVGElementInstanceList {
5154 5134
5155 int get length(); 5135 int get length();
5156 5136
5157 SVGElementInstance item(int index); 5137 SVGElementInstance item(int index);
5158 } 5138 }
5159 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 5139 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5160 // for details. All rights reserved. Use of this source code is governed by a 5140 // for details. All rights reserved. Use of this source code is governed by a
5161 // BSD-style license that can be found in the LICENSE file. 5141 // BSD-style license that can be found in the LICENSE file.
5162 5142
(...skipping 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after
6875 static final int RENDERING_INTENT_SATURATION = 4; 6855 static final int RENDERING_INTENT_SATURATION = 4;
6876 6856
6877 static final int RENDERING_INTENT_UNKNOWN = 0; 6857 static final int RENDERING_INTENT_UNKNOWN = 0;
6878 } 6858 }
6879 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 6859 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6880 // for details. All rights reserved. Use of this source code is governed by a 6860 // for details. All rights reserved. Use of this source code is governed by a
6881 // BSD-style license that can be found in the LICENSE file. 6861 // BSD-style license that can be found in the LICENSE file.
6882 6862
6883 // WARNING: Do not edit - generated code. 6863 // WARNING: Do not edit - generated code.
6884 6864
6885 interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalR esourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox, SVGZoomAndPan {
6886
6887 String get contentScriptType();
6888
6889 void set contentScriptType(String value);
6890
6891 String get contentStyleType();
6892
6893 void set contentStyleType(String value);
6894
6895 num get currentScale();
6896
6897 void set currentScale(num value);
6898
6899 SVGPoint get currentTranslate();
6900
6901 SVGAnimatedLength get height();
6902
6903 num get pixelUnitToMillimeterX();
6904
6905 num get pixelUnitToMillimeterY();
6906
6907 num get screenPixelToMillimeterX();
6908
6909 num get screenPixelToMillimeterY();
6910
6911 bool get useCurrentView();
6912
6913 void set useCurrentView(bool value);
6914
6915 SVGRect get viewport();
6916
6917 SVGAnimatedLength get width();
6918
6919 SVGAnimatedLength get x();
6920
6921 SVGAnimatedLength get y();
6922
6923 bool animationsPaused();
6924
6925 bool checkEnclosure(SVGElement element, SVGRect rect);
6926
6927 bool checkIntersection(SVGElement element, SVGRect rect);
6928
6929 SVGAngle createSVGAngle();
6930
6931 SVGLength createSVGLength();
6932
6933 SVGMatrix createSVGMatrix();
6934
6935 SVGNumber createSVGNumber();
6936
6937 SVGPoint createSVGPoint();
6938
6939 SVGRect createSVGRect();
6940
6941 SVGTransform createSVGTransform();
6942
6943 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
6944
6945 void deselectAll();
6946
6947 void forceRedraw();
6948
6949 num getCurrentTime();
6950
6951 Element getElementById(String elementId);
6952
6953 ElementList getEnclosureList(SVGRect rect, SVGElement referenceElement);
6954
6955 ElementList getIntersectionList(SVGRect rect, SVGElement referenceElement);
6956
6957 void pauseAnimations();
6958
6959 void setCurrentTime(num seconds);
6960
6961 int suspendRedraw(int maxWaitMilliseconds);
6962
6963 void unpauseAnimations();
6964
6965 void unsuspendRedraw(int suspendHandleId);
6966
6967 void unsuspendRedrawAll();
6968 }
6969 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6970 // for details. All rights reserved. Use of this source code is governed by a
6971 // BSD-style license that can be found in the LICENSE file.
6972
6973 // WARNING: Do not edit - generated code.
6974
6975 interface SVGScriptElement extends SVGElement, SVGURIReference, SVGExternalResou rcesRequired { 6865 interface SVGScriptElement extends SVGElement, SVGURIReference, SVGExternalResou rcesRequired {
6976 6866
6977 String get type(); 6867 String get type();
6978 6868
6979 void set type(String value); 6869 void set type(String value);
6980 } 6870 }
6981 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 6871 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6982 // for details. All rights reserved. Use of this source code is governed by a 6872 // for details. All rights reserved. Use of this source code is governed by a
6983 // BSD-style license that can be found in the LICENSE file. 6873 // BSD-style license that can be found in the LICENSE file.
6984 6874
(...skipping 5866 matching lines...) Expand 10 before | Expand all | Expand 10 after
12851 // BSD-style license that can be found in the LICENSE file. 12741 // BSD-style license that can be found in the LICENSE file.
12852 12742
12853 // WARNING: Do not edit - generated code. 12743 // WARNING: Do not edit - generated code.
12854 12744
12855 interface SVGDocument extends Document { 12745 interface SVGDocument extends Document {
12856 } 12746 }
12857 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12747 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12858 // for details. All rights reserved. Use of this source code is governed by a 12748 // for details. All rights reserved. Use of this source code is governed by a
12859 // BSD-style license that can be found in the LICENSE file. 12749 // BSD-style license that can be found in the LICENSE file.
12860 12750
12751 interface SVGElement extends Element factory SVGElementWrappingImplementation {
12752
12753 SVGElement.tag(String tag);
12754
12755 String get id();
12756
12757 void set id(String value);
12758
12759 SVGSVGElement get ownerSVGElement();
12760
12761 SVGElement get viewportElement();
12762
12763 String get xmlbase();
12764
12765 void set xmlbase(String value);
12766 }
12767 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12768 // for details. All rights reserved. Use of this source code is governed by a
12769 // BSD-style license that can be found in the LICENSE file.
12770
12861 // WARNING: Do not edit - generated code. 12771 // WARNING: Do not edit - generated code.
12862 12772
12863 interface SVGElementInstance extends EventTarget { 12773 interface SVGElementInstance extends EventTarget {
12864 12774
12865 SVGElementInstanceList get childNodes(); 12775 SVGElementInstanceList get childNodes();
12866 12776
12867 SVGElement get correspondingElement(); 12777 SVGElement get correspondingElement();
12868 12778
12869 SVGUseElement get correspondingUseElement(); 12779 SVGUseElement get correspondingUseElement();
12870 12780
12871 SVGElementInstance get firstChild(); 12781 SVGElementInstance get firstChild();
12872 12782
12873 SVGElementInstance get lastChild(); 12783 SVGElementInstance get lastChild();
12874 12784
12875 SVGElementInstance get nextSibling(); 12785 SVGElementInstance get nextSibling();
12876 12786
12877 SVGElementInstance get parentNode(); 12787 SVGElementInstance get parentNode();
12878 12788
12879 SVGElementInstance get previousSibling(); 12789 SVGElementInstance get previousSibling();
12880 } 12790 }
12881 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12791 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12882 // for details. All rights reserved. Use of this source code is governed by a 12792 // for details. All rights reserved. Use of this source code is governed by a
12883 // BSD-style license that can be found in the LICENSE file. 12793 // BSD-style license that can be found in the LICENSE file.
12884 12794
12795 interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalR esourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox, SVGZoomAndPan
12796 factory SVGSVGElementWrappingImplementation {
12797
12798 SVGSVGElement();
12799
12800 String get contentScriptType();
12801
12802 void set contentScriptType(String value);
12803
12804 String get contentStyleType();
12805
12806 void set contentStyleType(String value);
12807
12808 num get currentScale();
12809
12810 void set currentScale(num value);
12811
12812 SVGPoint get currentTranslate();
12813
12814 SVGAnimatedLength get height();
12815
12816 num get pixelUnitToMillimeterX();
12817
12818 num get pixelUnitToMillimeterY();
12819
12820 num get screenPixelToMillimeterX();
12821
12822 num get screenPixelToMillimeterY();
12823
12824 bool get useCurrentView();
12825
12826 void set useCurrentView(bool value);
12827
12828 SVGRect get viewport();
12829
12830 SVGAnimatedLength get width();
12831
12832 SVGAnimatedLength get x();
12833
12834 SVGAnimatedLength get y();
12835
12836 bool animationsPaused();
12837
12838 bool checkEnclosure(SVGElement element, SVGRect rect);
12839
12840 bool checkIntersection(SVGElement element, SVGRect rect);
12841
12842 SVGAngle createSVGAngle();
12843
12844 SVGLength createSVGLength();
12845
12846 SVGMatrix createSVGMatrix();
12847
12848 SVGNumber createSVGNumber();
12849
12850 SVGPoint createSVGPoint();
12851
12852 SVGRect createSVGRect();
12853
12854 SVGTransform createSVGTransform();
12855
12856 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
12857
12858 void deselectAll();
12859
12860 void forceRedraw();
12861
12862 num getCurrentTime();
12863
12864 Element getElementById(String elementId);
12865
12866 ElementList getEnclosureList(SVGRect rect, SVGElement referenceElement);
12867
12868 ElementList getIntersectionList(SVGRect rect, SVGElement referenceElement);
12869
12870 void pauseAnimations();
12871
12872 void setCurrentTime(num seconds);
12873
12874 int suspendRedraw(int maxWaitMilliseconds);
12875
12876 void unpauseAnimations();
12877
12878 void unsuspendRedraw(int suspendHandleId);
12879
12880 void unsuspendRedrawAll();
12881 }
12882 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12883 // for details. All rights reserved. Use of this source code is governed by a
12884 // BSD-style license that can be found in the LICENSE file.
12885
12885 interface Text extends CharacterData factory TextWrappingImplementation { 12886 interface Text extends CharacterData factory TextWrappingImplementation {
12886 12887
12887 Text(String content); 12888 Text(String content);
12888 12889
12889 String get wholeText(); 12890 String get wholeText();
12890 12891
12891 Text replaceWholeText([String content]); 12892 Text replaceWholeText([String content]);
12892 12893
12893 Text splitText([int offset]); 12894 Text splitText([int offset]);
12894 } 12895 }
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
13483 EventListenerList get abort(); 13484 EventListenerList get abort();
13484 EventListenerList get error(); 13485 EventListenerList get error();
13485 EventListenerList get load(); 13486 EventListenerList get load();
13486 EventListenerList get loadStart(); 13487 EventListenerList get loadStart();
13487 EventListenerList get progress(); 13488 EventListenerList get progress();
13488 } 13489 }
13489 13490
13490 interface XMLHttpRequestUpload extends EventTarget { 13491 interface XMLHttpRequestUpload extends EventTarget {
13491 XMLHttpRequestUploadEvents get on(); 13492 XMLHttpRequestUploadEvents get on();
13492 } 13493 }
OLDNEW
« no previous file with comments | « client/html/htmlimpl.dart ('k') | client/html/release/htmlimpl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698