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

Unified Diff: tools/json_schema_compiler/dart_test/operatable_type.dart

Issue 843213003: Remove dart generator code from json schema compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/operatable_type.dart
diff --git a/tools/json_schema_compiler/dart_test/operatable_type.dart b/tools/json_schema_compiler/dart_test/operatable_type.dart
deleted file mode 100644
index 550e4d5587eeeb7b99b92f2a1217e3ccd6184a6a..0000000000000000000000000000000000000000
--- a/tools/json_schema_compiler/dart_test/operatable_type.dart
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright (c) 2015, 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: operatable_type
-
-part of chrome;
-
-/**
- * Types
- */
-
-class Operatable_typeDictType extends ChromeObject {
- /*
- * Public constructor
- */
- Operatable_typeDictType({int x, int y}) {
- if (x != null)
- this.x = x;
- if (y != null)
- this.y = y;
- }
-
- /*
- * Private constructor
- */
- Operatable_typeDictType._proxy(_jsObject) : super._proxy(_jsObject);
-
- /*
- * Public accessors
- */
- int get x => JS('int', '#.x', this._jsObject);
-
- void set x(int x) {
- JS('void', '#.x = #', this._jsObject, x);
- }
-
- int get y => JS('int', '#.y', this._jsObject);
-
- void set y(int y) {
- JS('void', '#.y = #', this._jsObject, y);
- }
-
-}
-
-class Operatable_typeOperatableType extends ChromeObject {
- /*
- * Private constructor
- */
- Operatable_typeOperatableType._proxy(_jsObject) : super._proxy(_jsObject);
-
- /*
- * Public accessors
- */
- /// Documentation for the String t.
- String get t => JS('String', '#.t', this._jsObject);
-
- void set t(String t) {
- JS('void', '#.t = #', this._jsObject, t);
- }
-
-
- /*
- * Methods
- */
- /// Function returning nothing, taking nothing.
- void voidFunc() => JS('void', '#.voidFunc()', this._jsObject);
-
- /// Function returning primitive type.
- int intRetFunc() => new int._proxy(JS('', '#.intRetFunc()', this._jsObject));
-
- /// Function returning dictionary.
- Operatable_typeDictType dictRetFunc() => new Operatable_typeDictType._proxy(JS('', '#.dictRetFunc()', this._jsObject));
-
- /// Function taking primitive type.
- void intArgFunc(int i) => JS('void', '#.intArgFunc(#)', this._jsObject, i);
-
- /// Function taking dict type.
- void dictArgFunc(Operatable_typeDictType d) => JS('void', '#.dictArgFunc(#)', this._jsObject, convertArgument(d));
-
-}
-
-/**
- * Functions
- */
-
-class API_operatable_type {
- /*
- * API connection
- */
- Object _jsObject;
- API_operatable_type(this._jsObject) {
- }
-}
« no previous file with comments | « tools/json_schema_compiler/dart_test/functions.idl ('k') | tools/json_schema_compiler/dart_test/operatable_type.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698