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

Side by Side Diff: lib/dom/templates/html/frog/html_frog.darttemplate

Issue 10544111: Some HTML API cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add new template Created 8 years, 6 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 // DO NOT EDIT 5 // DO NOT EDIT
6 // Auto-generated dart:html library. 6 // Auto-generated dart:html library.
7 7
8 #library("html"); 8 #library("html");
9 9
10 $!GENERATED_DART_FILES 10 $!GENERATED_DART_FILES
(...skipping 18 matching lines...) Expand all
29 #source('../../dom/src/_Lists.dart'); 29 #source('../../dom/src/_Lists.dart');
30 30
31 31
32 Window get window() native "return window;"; 32 Window get window() native "return window;";
33 _WindowImpl get _window() native "return window;"; 33 _WindowImpl get _window() native "return window;";
34 34
35 Document get document() native "return document;"; 35 Document get document() native "return document;";
36 36
37 _DocumentImpl get _document() native "return document;"; 37 _DocumentImpl get _document() native "return document;";
38 38
39 Element query(String selector) => _document.query(selector);
40 ElementList queryAll(String selector) => _document.queryAll(selector);
41
39 // Workaround for tags like <cite> that lack their own Element subclass -- 42 // Workaround for tags like <cite> that lack their own Element subclass --
40 // Dart issue 1990. 43 // Dart issue 1990.
41 class _HTMLElementImpl extends _ElementImpl native "*HTMLElement" { 44 class _HTMLElementImpl extends _ElementImpl native "*HTMLElement" {
42 } 45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698