| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2013, 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 // Generated from namespace: basic_event | |
| 6 | |
| 7 part of chrome; | |
| 8 /** | |
| 9 * Events | |
| 10 */ | |
| 11 | |
| 12 /// Documentation for basicEvent. | |
| 13 class Event_basic_event_basicEvent extends Event { | |
| 14 void addListener(void callback()) => super.addListener(callback); | |
| 15 | |
| 16 void removeListener(void callback()) => super.removeListener(callback); | |
| 17 | |
| 18 bool hasListener(void callback()) => super.hasListener(callback); | |
| 19 | |
| 20 Event_basic_event_basicEvent(jsObject) : super._(jsObject, 0); | |
| 21 } | |
| 22 | |
| 23 /** | |
| 24 * Functions | |
| 25 */ | |
| 26 | |
| 27 class API_basic_event { | |
| 28 /* | |
| 29 * API connection | |
| 30 */ | |
| 31 Object _jsObject; | |
| 32 | |
| 33 /* | |
| 34 * Events | |
| 35 */ | |
| 36 Event_basic_event_basicEvent basicEvent; | |
| 37 API_basic_event(this._jsObject) { | |
| 38 basicEvent = new Event_basic_event_basicEvent(JS('', '#.basicEvent', this._j
sObject)); | |
| 39 } | |
| 40 } | |
| OLD | NEW |