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

Side by Side Diff: tools/json_schema_compiler/dart_test/tags.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: tags
6
7 part of chrome;
8
9 /**
10 * Types
11 */
12
13 class TagsInlineDoc extends ChromeObject {
14 /*
15 * Public constructor
16 */
17 TagsInlineDoc({}) {
18 }
19
20 /*
21 * Private constructor
22 */
23 TagsInlineDoc._proxy(_jsObject) : super._proxy(_jsObject);
24 }
25
26 class TagsNodoc extends ChromeObject {
27 /*
28 * Public constructor
29 */
30 TagsNodoc({}) {
31 }
32
33 /*
34 * Private constructor
35 */
36 TagsNodoc._proxy(_jsObject) : super._proxy(_jsObject);
37 }
38
39 class TagsNocompile extends ChromeObject {
40 /*
41 * Public constructor
42 */
43 TagsNocompile({}) {
44 }
45
46 /*
47 * Private constructor
48 */
49 TagsNocompile._proxy(_jsObject) : super._proxy(_jsObject);
50 }
51
52 class TagsPlainDict extends ChromeObject {
53 /*
54 * Public constructor
55 */
56 TagsPlainDict({int inline_doc, String nodoc, double nocompile, fileEntry insta nce_of_tag}) {
57 if (?inline_doc)
58 this.inline_doc = inline_doc;
59 if (?nodoc)
60 this.nodoc = nodoc;
61 if (?nocompile)
62 this.nocompile = nocompile;
63 if (?instance_of_tag)
64 this.instance_of_tag = instance_of_tag;
65 }
66
67 /*
68 * Private constructor
69 */
70 TagsPlainDict._proxy(_jsObject) : super._proxy(_jsObject);
71
72 /*
73 * Public accessors
74 */
75 /// This int has the property [inline_doc].
76 int get inline_doc => JS('int', '#.inline_doc', this._jsObject);
77
78 void set inline_doc(int inline_doc) {
79 JS('void', '#.inline_doc = #', this._jsObject, inline_doc);
80 }
81
82 /// This String has the property [nodoc].
83 String get nodoc => JS('String', '#.nodoc', this._jsObject);
84
85 void set nodoc(String nodoc) {
86 JS('void', '#.nodoc = #', this._jsObject, nodoc);
87 }
88
89 /// This double has the property [nocompile].
90 double get nocompile => JS('double', '#.nocompile', this._jsObject);
91
92 void set nocompile(double nocompile) {
93 JS('void', '#.nocompile = #', this._jsObject, nocompile);
94 }
95
96 /// This object has the property [instanceOf=fileEntry].
97 fileEntry get instance_of_tag => JS('fileEntry', '#.instance_of_tag', this._js Object);
98
99 void set instance_of_tag(fileEntry instance_of_tag) {
100 JS('void', '#.instance_of_tag = #', this._jsObject, convertArgument(instance _of_tag));
101 }
102
103 }
104
105 /**
106 * Functions
107 */
108
109 class API_tags {
110 /*
111 * API connection
112 */
113 Object _jsObject;
114 API_tags(this._jsObject) {
115 }
116 }
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/dart_test/operatable_type.idl ('k') | tools/json_schema_compiler/dart_test/tags.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698