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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 14979006: fix warnings caused by xtag (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 | sdk/lib/html/dartium/html_dartium.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 /// The Dart HTML library. 1 /// The Dart HTML library.
2 library dart.dom.html; 2 library dart.dom.html;
3 3
4 import 'dart:async'; 4 import 'dart:async';
5 import 'dart:collection'; 5 import 'dart:collection';
6 import 'dart:_collection-dev' hide Symbol; 6 import 'dart:_collection-dev' hide Symbol;
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:indexed_db'; 8 import 'dart:indexed_db';
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 import 'dart:json' as json; 10 import 'dart:json' as json;
(...skipping 7384 matching lines...) Expand 10 before | Expand all | Expand 10 after
7395 * reference to the component implementation. It was inspired by Mozilla's 7395 * reference to the component implementation. It was inspired by Mozilla's
7396 * [x-tags][] project. Please note: in the future it may be possible to 7396 * [x-tags][] project. Please note: in the future it may be possible to
7397 * `extend Element` from your class, in which case this field will be 7397 * `extend Element` from your class, in which case this field will be
7398 * deprecated. 7398 * deprecated.
7399 * 7399 *
7400 * If xtag has not been set, it will simply return `this` [Element]. 7400 * If xtag has not been set, it will simply return `this` [Element].
7401 * 7401 *
7402 * [wc]: http://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html 7402 * [wc]: http://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html
7403 * [x-tags]: http://x-tags.org/ 7403 * [x-tags]: http://x-tags.org/
7404 */ 7404 */
7405 Element get xtag => _xtag != null ? _xtag : this; 7405 // Note: return type is `dynamic` for convenience to suppress warnings when
7406 // members of the component are used. The actual type is a subtype of Element.
7407 get xtag => _xtag != null ? _xtag : this;
7406 7408
7407 void set xtag(Element value) { 7409 void set xtag(Element value) {
7408 _xtag = value; 7410 _xtag = value;
7409 } 7411 }
7410 7412
7411 /** 7413 /**
7412 * Scrolls this element into view. 7414 * Scrolls this element into view.
7413 * 7415 *
7414 * Only one of of the alignment options may be specified at a time. 7416 * Only one of of the alignment options may be specified at a time.
7415 * 7417 *
(...skipping 20581 matching lines...) Expand 10 before | Expand all | Expand 10 after
27997 _position = nextPosition; 27999 _position = nextPosition;
27998 return true; 28000 return true;
27999 } 28001 }
28000 _current = null; 28002 _current = null;
28001 _position = _array.length; 28003 _position = _array.length;
28002 return false; 28004 return false;
28003 } 28005 }
28004 28006
28005 T get current => _current; 28007 T get current => _current;
28006 } 28008 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698