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

Side by Side Diff: pkg/custom_element/lib/custom_element.dart

Issue 237493005: Adding Node.baseUri to CustomElement. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * Custom DOM elements. 6 * Custom DOM elements.
7 * 7 *
8 * This library provides access to the Polymer project's 8 * This library provides access to the Polymer project's
9 * [Custom Elements] 9 * [Custom Elements]
10 * (http://www.polymer-project.org/platform/custom-elements.html) 10 * (http://www.polymer-project.org/platform/custom-elements.html)
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 set attributes(Map<String, String> value) { 176 set attributes(Map<String, String> value) {
177 host.attributes = value; 177 host.attributes = value;
178 } 178 }
179 179
180 List<Element> get elements => host.children; 180 List<Element> get elements => host.children;
181 181
182 set elements(List<Element> value) { 182 set elements(List<Element> value) {
183 host.children = value; 183 host.children = value;
184 } 184 }
185 185
186 String get baseUri => host.baseUri;
187
186 List<Element> get children => host.children; 188 List<Element> get children => host.children;
187 189
188 set children(List<Element> value) { 190 set children(List<Element> value) {
189 host.children = value; 191 host.children = value;
190 } 192 }
191 193
192 Set<String> get classes => host.classes; 194 Set<String> get classes => host.classes;
193 195
194 set classes(Iterable<String> value) { 196 set classes(Iterable<String> value) {
195 host.classes = value; 197 host.classes = value;
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 Stream<TouchEvent> get onTouchLeave => host.onTouchLeave; 487 Stream<TouchEvent> get onTouchLeave => host.onTouchLeave;
486 Stream<TouchEvent> get onTouchMove => host.onTouchMove; 488 Stream<TouchEvent> get onTouchMove => host.onTouchMove;
487 Stream<TouchEvent> get onTouchStart => host.onTouchStart; 489 Stream<TouchEvent> get onTouchStart => host.onTouchStart;
488 Stream<TransitionEvent> get onTransitionEnd => host.onTransitionEnd; 490 Stream<TransitionEvent> get onTransitionEnd => host.onTransitionEnd;
489 491
490 // TODO(sigmund): do the normal forwarding when dartbug.com/7919 is fixed. 492 // TODO(sigmund): do the normal forwarding when dartbug.com/7919 is fixed.
491 Stream<WheelEvent> get onMouseWheel { 493 Stream<WheelEvent> get onMouseWheel {
492 throw new UnsupportedError('onMouseWheel is not supported'); 494 throw new UnsupportedError('onMouseWheel is not supported');
493 } 495 }
494 } 496 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698