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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: tools/json_schema_compiler/dart_test/tags.dart
diff --git a/tools/json_schema_compiler/dart_test/tags.dart b/tools/json_schema_compiler/dart_test/tags.dart
new file mode 100644
index 0000000000000000000000000000000000000000..78da51a96e316e8535d956ba7781e06c32c5a877
--- /dev/null
+++ b/tools/json_schema_compiler/dart_test/tags.dart
@@ -0,0 +1,116 @@
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// Generated from namespace: tags
+
+part of chrome;
+
+/**
+ * Types
+ */
+
+class TagsInlineDoc extends ChromeObject {
+ /*
+ * Public constructor
+ */
+ TagsInlineDoc({}) {
+ }
+
+ /*
+ * Private constructor
+ */
+ TagsInlineDoc._proxy(_jsObject) : super._proxy(_jsObject);
+}
+
+class TagsNodoc extends ChromeObject {
+ /*
+ * Public constructor
+ */
+ TagsNodoc({}) {
+ }
+
+ /*
+ * Private constructor
+ */
+ TagsNodoc._proxy(_jsObject) : super._proxy(_jsObject);
+}
+
+class TagsNocompile extends ChromeObject {
+ /*
+ * Public constructor
+ */
+ TagsNocompile({}) {
+ }
+
+ /*
+ * Private constructor
+ */
+ TagsNocompile._proxy(_jsObject) : super._proxy(_jsObject);
+}
+
+class TagsPlainDict extends ChromeObject {
+ /*
+ * Public constructor
+ */
+ TagsPlainDict({int inline_doc, String nodoc, double nocompile, fileEntry instance_of_tag}) {
+ if (?inline_doc)
+ this.inline_doc = inline_doc;
+ if (?nodoc)
+ this.nodoc = nodoc;
+ if (?nocompile)
+ this.nocompile = nocompile;
+ if (?instance_of_tag)
+ this.instance_of_tag = instance_of_tag;
+ }
+
+ /*
+ * Private constructor
+ */
+ TagsPlainDict._proxy(_jsObject) : super._proxy(_jsObject);
+
+ /*
+ * Public accessors
+ */
+ /// This int has the property [inline_doc].
+ int get inline_doc => JS('int', '#.inline_doc', this._jsObject);
+
+ void set inline_doc(int inline_doc) {
+ JS('void', '#.inline_doc = #', this._jsObject, inline_doc);
+ }
+
+ /// This String has the property [nodoc].
+ String get nodoc => JS('String', '#.nodoc', this._jsObject);
+
+ void set nodoc(String nodoc) {
+ JS('void', '#.nodoc = #', this._jsObject, nodoc);
+ }
+
+ /// This double has the property [nocompile].
+ double get nocompile => JS('double', '#.nocompile', this._jsObject);
+
+ void set nocompile(double nocompile) {
+ JS('void', '#.nocompile = #', this._jsObject, nocompile);
+ }
+
+ /// This object has the property [instanceOf=fileEntry].
+ fileEntry get instance_of_tag => JS('fileEntry', '#.instance_of_tag', this._jsObject);
+
+ void set instance_of_tag(fileEntry instance_of_tag) {
+ JS('void', '#.instance_of_tag = #', this._jsObject, convertArgument(instance_of_tag));
+ }
+
+}
+
+/**
+ * Functions
+ */
+
+class API_tags {
+ /*
+ * API connection
+ */
+ Object _jsObject;
+ API_tags(this._jsObject) {
+ }
+}
« 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