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

Side by Side Diff: client/html/src/_Testing.dart

Issue 9662010: Don't put private members in dart:html interfaces. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 8 years, 9 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 | « client/html/release/html.dart ('k') | client/html/src/shared_FactoryProviders.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 // TODO(rnystrom): add a way to supress public classes from DartDoc output. 5 // TODO(rnystrom): add a way to supress public classes from DartDoc output.
6 /** 6 /**
7 * This class is intended for testing purposes only. 7 * This class is intended for testing purposes only.
8 */ 8 */
9 class Testing { 9 class Testing {
10 static void addEventListener(EventTarget target, String type, EventListener li stener, bool useCapture) { 10 static void addEventListener(EventTarget target, String type, EventListener li stener, bool useCapture) {
11 target._addEventListener(type, listener, useCapture); 11 final _EventTargetImpl targetImpl = target;
12 targetImpl._addEventListener(type, listener, useCapture);
12 } 13 }
13 static void removeEventListener(EventTarget target, String type, EventListener listener, bool useCapture) { 14 static void removeEventListener(EventTarget target, String type, EventListener listener, bool useCapture) {
14 target._removeEventListener(type, listener, useCapture); 15 final _EventTargetImpl targetImpl = target;
16 targetImpl._removeEventListener(type, listener, useCapture);
15 } 17 }
16 18
17 } 19 }
OLDNEW
« no previous file with comments | « client/html/release/html.dart ('k') | client/html/src/shared_FactoryProviders.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698