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

Side by Side Diff: tools/dom/templates/html/impl/impl_Range.darttemplate

Issue 16335012: Fixing some of the tests disabled from the chrome IDL roll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 part of $LIBRARYNAME; 7 part of $LIBRARYNAME;
8 8
9 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 9 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
10 factory $CLASSNAME() => document.$dom_createRange();
10 $!MEMBERS 11 $!MEMBERS
11 12
12 /** 13 /**
13 * Checks if createContextualFragment is supported. 14 * Checks if createContextualFragment is supported.
14 * 15 *
15 * See also: 16 * See also:
16 * 17 *
17 * * [createContextualFragment] 18 * * [createContextualFragment]
18 */ 19 */
19 $if DART2JS 20 $if DART2JS
20 static bool get supportsCreateContextualFragment => 21 static bool get supportsCreateContextualFragment =>
21 JS('bool', '("createContextualFragment" in window.Range.prototype)'); 22 JS('bool', '("createContextualFragment" in window.Range.prototype)');
22 $else 23 $else
23 static bool get supportsCreateContextualFragment => true; 24 static bool get supportsCreateContextualFragment => true;
24 $endif 25 $endif
25 } 26 }
OLDNEW
« no previous file with comments | « tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate ('k') | tools/dom/templates/html/impl/impl_Text.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698