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

Side by Side Diff: tools/dom/src/_Testing.dart

Issue 11691009: Moved most of html lib generating scripts into tools. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 12 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 | « tools/dom/src/_ListIterators.dart ('k') | tools/dom/src/dart2js_Conversions.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 // 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 part of html; 5 part of html;
6 6
7 // TODO(rnystrom): add a way to supress public classes from DartDoc output. 7 // TODO(rnystrom): add a way to supress public classes from DartDoc output.
8 // TODO(jacobr): we can remove this class now that we are using the $dom_ 8 // TODO(jacobr): we can remove this class now that we are using the $dom_
9 // convention for deprecated methods rather than truly private methods. 9 // convention for deprecated methods rather than truly private methods.
10 /** 10 /**
11 * This class is intended for testing purposes only. 11 * This class is intended for testing purposes only.
12 */ 12 */
13 class Testing { 13 class Testing {
14 static void addEventListener(EventTarget target, String type, EventListener li stener, bool useCapture) { 14 static void addEventListener(EventTarget target, String type, EventListener li stener, bool useCapture) {
15 target.$dom_addEventListener(type, listener, useCapture); 15 target.$dom_addEventListener(type, listener, useCapture);
16 } 16 }
17 static void removeEventListener(EventTarget target, String type, EventListener listener, bool useCapture) { 17 static void removeEventListener(EventTarget target, String type, EventListener listener, bool useCapture) {
18 target.$dom_removeEventListener(type, listener, useCapture); 18 target.$dom_removeEventListener(type, listener, useCapture);
19 } 19 }
20 20
21 } 21 }
OLDNEW
« no previous file with comments | « tools/dom/src/_ListIterators.dart ('k') | tools/dom/src/dart2js_Conversions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698