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

Side by Side Diff: lib/html/src/SVGSVGElementWrappingImplementation.dart

Issue 10910129: Remove stale files from lib/html/src. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « lib/html/src/SVGSVGElement.dart ('k') | lib/html/src/StorageEvent.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 class SVGSVGElementWrappingImplementation extends SVGElementWrappingImplementati on implements SVGSVGElement {
6 SVGSVGElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
7
8 factory SVGSVGElementWrappingImplementation() {
9 var el = new SVGElement.tag("svg");
10 // The SVG spec requires the version attribute to match the spec version
11 el.attributes['version'] = "1.1";
12 return el;
13 }
14
15 String get contentScriptType() { return _ptr.contentScriptType; }
16
17 void set contentScriptType(String value) { _ptr.contentScriptType = value; }
18
19 String get contentStyleType() { return _ptr.contentStyleType; }
20
21 void set contentStyleType(String value) { _ptr.contentStyleType = value; }
22
23 num get currentScale() { return _ptr.currentScale; }
24
25 void set currentScale(num value) { _ptr.currentScale = value; }
26
27 SVGPoint get currentTranslate() { return LevelDom.wrapSVGPoint(_ptr.currentTra nslate); }
28
29 SVGAnimatedLength get height() { return LevelDom.wrapSVGAnimatedLength(_ptr.he ight); }
30
31 num get pixelUnitToMillimeterX() { return _ptr.pixelUnitToMillimeterX; }
32
33 num get pixelUnitToMillimeterY() { return _ptr.pixelUnitToMillimeterY; }
34
35 num get screenPixelToMillimeterX() { return _ptr.screenPixelToMillimeterX; }
36
37 num get screenPixelToMillimeterY() { return _ptr.screenPixelToMillimeterY; }
38
39 bool get useCurrentView() { return _ptr.useCurrentView; }
40
41 void set useCurrentView(bool value) { _ptr.useCurrentView = value; }
42
43 SVGRect get viewport() { return LevelDom.wrapSVGRect(_ptr.viewport); }
44
45 SVGAnimatedLength get width() { return LevelDom.wrapSVGAnimatedLength(_ptr.wid th); }
46
47 SVGAnimatedLength get x() { return LevelDom.wrapSVGAnimatedLength(_ptr.x); }
48
49 SVGAnimatedLength get y() { return LevelDom.wrapSVGAnimatedLength(_ptr.y); }
50
51 bool animationsPaused() {
52 return _ptr.animationsPaused();
53 }
54
55 bool checkEnclosure(SVGElement element, SVGRect rect) {
56 return _ptr.checkEnclosure(LevelDom.unwrap(element), LevelDom.unwrap(rect));
57 }
58
59 bool checkIntersection(SVGElement element, SVGRect rect) {
60 return _ptr.checkIntersection(LevelDom.unwrap(element), LevelDom.unwrap(rect ));
61 }
62
63 SVGAngle createSVGAngle() {
64 return LevelDom.wrapSVGAngle(_ptr.createSVGAngle());
65 }
66
67 SVGLength createSVGLength() {
68 return LevelDom.wrapSVGLength(_ptr.createSVGLength());
69 }
70
71 SVGMatrix createSVGMatrix() {
72 return LevelDom.wrapSVGMatrix(_ptr.createSVGMatrix());
73 }
74
75 SVGNumber createSVGNumber() {
76 return LevelDom.wrapSVGNumber(_ptr.createSVGNumber());
77 }
78
79 SVGPoint createSVGPoint() {
80 return LevelDom.wrapSVGPoint(_ptr.createSVGPoint());
81 }
82
83 SVGRect createSVGRect() {
84 return LevelDom.wrapSVGRect(_ptr.createSVGRect());
85 }
86
87 SVGTransform createSVGTransform() {
88 return LevelDom.wrapSVGTransform(_ptr.createSVGTransform());
89 }
90
91 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix) {
92 return LevelDom.wrapSVGTransform(_ptr.createSVGTransformFromMatrix(LevelDom. unwrap(matrix)));
93 }
94
95 void deselectAll() {
96 _ptr.deselectAll();
97 return;
98 }
99
100 void forceRedraw() {
101 _ptr.forceRedraw();
102 return;
103 }
104
105 num getCurrentTime() {
106 return _ptr.getCurrentTime();
107 }
108
109 Element getElementById(String elementId) {
110 return LevelDom.wrapElement(_ptr.getElementById(elementId));
111 }
112
113 ElementList getEnclosureList(SVGRect rect, SVGElement referenceElement) {
114 return LevelDom.wrapElementList(_ptr.getEnclosureList(LevelDom.unwrap(rect), LevelDom.unwrap(referenceElement)));
115 }
116
117 ElementList getIntersectionList(SVGRect rect, SVGElement referenceElement) {
118 return LevelDom.wrapElementList(_ptr.getIntersectionList(LevelDom.unwrap(rec t), LevelDom.unwrap(referenceElement)));
119 }
120
121 void pauseAnimations() {
122 _ptr.pauseAnimations();
123 return;
124 }
125
126 void setCurrentTime(num seconds) {
127 _ptr.setCurrentTime(seconds);
128 return;
129 }
130
131 int suspendRedraw(int maxWaitMilliseconds) {
132 return _ptr.suspendRedraw(maxWaitMilliseconds);
133 }
134
135 void unpauseAnimations() {
136 _ptr.unpauseAnimations();
137 return;
138 }
139
140 void unsuspendRedraw(int suspendHandleId) {
141 _ptr.unsuspendRedraw(suspendHandleId);
142 return;
143 }
144
145 void unsuspendRedrawAll() {
146 _ptr.unsuspendRedrawAll();
147 return;
148 }
149
150 // From SVGTests
151
152 SVGStringList get requiredExtensions() { return LevelDom.wrapSVGStringList(_pt r.requiredExtensions); }
153
154 SVGStringList get requiredFeatures() { return LevelDom.wrapSVGStringList(_ptr. requiredFeatures); }
155
156 SVGStringList get systemLanguage() { return LevelDom.wrapSVGStringList(_ptr.sy stemLanguage); }
157
158 bool hasExtension(String extension) {
159 return _ptr.hasExtension(extension);
160 }
161
162 // From SVGLangSpace
163
164 String get xmllang() { return _ptr.xmllang; }
165
166 void set xmllang(String value) { _ptr.xmllang = value; }
167
168 String get xmlspace() { return _ptr.xmlspace; }
169
170 void set xmlspace(String value) { _ptr.xmlspace = value; }
171
172 // From SVGExternalResourcesRequired
173
174 SVGAnimatedBoolean get externalResourcesRequired() { return LevelDom.wrapSVGAn imatedBoolean(_ptr.externalResourcesRequired); }
175
176 // From SVGStylable
177
178 SVGAnimatedString get className() { return LevelDom.wrapSVGAnimatedString(_ptr .className); }
179
180 CSSStyleDeclaration get style() { return LevelDom.wrapCSSStyleDeclaration(_ptr .style); }
181
182 CSSValue getPresentationAttribute(String name) {
183 return LevelDom.wrapCSSValue(_ptr.getPresentationAttribute(name));
184 }
185
186 // From SVGLocatable
187
188 SVGElement get farthestViewportElement() { return LevelDom.wrapSVGElement(_ptr .farthestViewportElement); }
189
190 SVGElement get nearestViewportElement() { return LevelDom.wrapSVGElement(_ptr. nearestViewportElement); }
191
192 SVGRect getBBox() {
193 return LevelDom.wrapSVGRect(_ptr.getBBox());
194 }
195
196 SVGMatrix getCTM() {
197 return LevelDom.wrapSVGMatrix(_ptr.getCTM());
198 }
199
200 SVGMatrix getScreenCTM() {
201 return LevelDom.wrapSVGMatrix(_ptr.getScreenCTM());
202 }
203
204 SVGMatrix getTransformToElement(SVGElement element) {
205 return LevelDom.wrapSVGMatrix(_ptr.getTransformToElement(LevelDom.unwrap(ele ment)));
206 }
207
208 // From SVGFitToViewBox
209
210 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() { return LevelDom.wra pSVGAnimatedPreserveAspectRatio(_ptr.preserveAspectRatio); }
211
212 SVGAnimatedRect get viewBox() { return LevelDom.wrapSVGAnimatedRect(_ptr.viewB ox); }
213
214 // From SVGZoomAndPan
215
216 int get zoomAndPan() { return _ptr.zoomAndPan; }
217
218 void set zoomAndPan(int value) { _ptr.zoomAndPan = value; }
219 }
OLDNEW
« no previous file with comments | « lib/html/src/SVGSVGElement.dart ('k') | lib/html/src/StorageEvent.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698