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

Side by Side Diff: tools/json_schema_compiler/dart_test/basic_event.dart

Issue 12218151: Added unit tests for the Dart Chrome.* API wrappers. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove print statement if outputting to file. Created 7 years, 10 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
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/dart_generator_test.py ('k') | tools/json_schema_compiler/dart_test/basic_event.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698