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

Side by Side Diff: client/dom/generated/src/wrapping/_EventTargetWrappingImplementation.dart

Issue 9663027: Remove generated directories with 100s of files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
OLDNEW
(Empty)
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
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.
4
5 // WARNING: Do not edit - generated code.
6
7 class _EventTargetWrappingImplementation extends DOMWrapperBase implements Event Target {
8 _EventTargetWrappingImplementation() : super() {}
9
10 static create__EventTargetWrappingImplementation() native {
11 return new _EventTargetWrappingImplementation();
12 }
13
14 void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
15 if (useCapture === null) {
16 _addEventListener(this, type, listener);
17 return;
18 } else {
19 _addEventListener_2(this, type, listener, useCapture);
20 return;
21 }
22 }
23 static void _addEventListener(receiver, type, listener) native;
24 static void _addEventListener_2(receiver, type, listener, useCapture) native;
25
26 bool dispatchEvent(Event event) {
27 return _dispatchEvent(this, event);
28 }
29 static bool _dispatchEvent(receiver, event) native;
30
31 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) {
32 if (useCapture === null) {
33 _removeEventListener(this, type, listener);
34 return;
35 } else {
36 _removeEventListener_2(this, type, listener, useCapture);
37 return;
38 }
39 }
40 static void _removeEventListener(receiver, type, listener) native;
41 static void _removeEventListener_2(receiver, type, listener, useCapture) nativ e;
42
43 String get typeName() { return "EventTarget"; }
44 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698