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

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

Issue 13686018: Testing & supporting new HTMLTemplateElement (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'; 6 import 'dart:_collection-dev';
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 18399 matching lines...) Expand 10 before | Expand all | Expand 10 after
18410 @DocsEditable 18410 @DocsEditable
18411 Element $dom_insertRow(int index) native; 18411 Element $dom_insertRow(int index) native;
18412 } 18412 }
18413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18414 // for details. All rights reserved. Use of this source code is governed by a 18414 // for details. All rights reserved. Use of this source code is governed by a
18415 // BSD-style license that can be found in the LICENSE file. 18415 // BSD-style license that can be found in the LICENSE file.
18416 18416
18417 18417
18418 @DocsEditable 18418 @DocsEditable
18419 @DomName('HTMLTemplateElement') 18419 @DomName('HTMLTemplateElement')
18420 @SupportedBrowser(SupportedBrowser.CHROME)
18421 @Experimental
18420 class TemplateElement extends Element native "HTMLTemplateElement" { 18422 class TemplateElement extends Element native "HTMLTemplateElement" {
18421 18423
18424 @DomName('HTMLTemplateElement.HTMLTemplateElement')
18425 @DocsEditable
18426 factory TemplateElement() => document.$dom_createElement("template");
18427
18428 /// Checks if this type is supported on the current platform.
18429 static bool get supported => Element.isTagSupported('template');
18430
18422 @DomName('HTMLTemplateElement.content') 18431 @DomName('HTMLTemplateElement.content')
18423 @DocsEditable 18432 @DocsEditable
18424 final DocumentFragment content; 18433 final DocumentFragment content;
18425 } 18434 }
18426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18435 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18427 // for details. All rights reserved. Use of this source code is governed by a 18436 // for details. All rights reserved. Use of this source code is governed by a
18428 // BSD-style license that can be found in the LICENSE file. 18437 // BSD-style license that can be found in the LICENSE file.
18429 18438
18430 // WARNING: Do not edit - generated code. 18439 // WARNING: Do not edit - generated code.
18431 18440
(...skipping 7136 matching lines...) Expand 10 before | Expand all | Expand 10 after
25568 _position = nextPosition; 25577 _position = nextPosition;
25569 return true; 25578 return true;
25570 } 25579 }
25571 _current = null; 25580 _current = null;
25572 _position = _array.length; 25581 _position = _array.length;
25573 return false; 25582 return false;
25574 } 25583 }
25575 25584
25576 T get current => _current; 25585 T get current => _current;
25577 } 25586 }
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