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

Unified Diff: tools/json_schema_compiler/dart_test/functions.idl

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/functions.idl
diff --git a/tools/json_schema_compiler/dart_test/functions.idl b/tools/json_schema_compiler/dart_test/functions.idl
deleted file mode 100644
index e303d0de022711393638daa227bc56d0c0712cdc..0000000000000000000000000000000000000000
--- a/tools/json_schema_compiler/dart_test/functions.idl
+++ /dev/null
@@ -1,55 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// A comment for the functions namespace.
-namespace functions {
- callback SimpleCallback = void ();
-
- callback PrimitiveCallback = void (int i);
-
- callback DictCallback = void ([instanceOf=DictType] object dict);
-
- dictionary DictType {
- // A field.
- int a;
-
- // A parameter.
- static void voidFunc();
- };
-
- interface Functions {
- // Simple function.
- static void voidFunc();
-
- // Function taking a non-optional argument.
- static void argFunc(DOMString s);
-
- // Function taking an optional argument.
- static void optionalArgFunc(optional DOMString s);
-
- // Function taking a non-optional dictionary argument.
- static void dictArgFunc(DictType d);
-
- // Function taking an optional dictionary argument.
- static void optionalDictArgFunc(optional DictType d);
-
- // Function taking an entry argument.
- static void entryArgFunc([intanceOf=FileEntry] object entry);
-
- // Function taking a simple callback.
- static void callbackFunc(SimpleCallback c);
-
- // Function taking an optional simple callback.
- static void optionalCallbackFunc(optional SimpleCallback c);
-
- // Function taking a primitive callback.
- static void primitiveCallbackFunc(PrimitiveCallback c);
-
- // Function taking a dictionary callback.
- static void dictCallbackFunc(DictCallback c);
-
- // Function returning a dictionary.
- static DictType dictRetFunc();
- };
-};
« no previous file with comments | « tools/json_schema_compiler/dart_test/functions.dart ('k') | tools/json_schema_compiler/dart_test/operatable_type.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698