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

Unified Diff: tools/json_schema_compiler/dart_test/events.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/events.idl
diff --git a/tools/json_schema_compiler/dart_test/events.idl b/tools/json_schema_compiler/dart_test/events.idl
deleted file mode 100644
index f1fb4b67dcc685125495dd7ea156ed664076017c..0000000000000000000000000000000000000000
--- a/tools/json_schema_compiler/dart_test/events.idl
+++ /dev/null
@@ -1,56 +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.
-
-// This comment is for the events namespace.
-namespace events {
- dictionary EventArgumentElement {
- DOMString elementStringArg;
- };
-
- dictionary EventArgument {
- // A file entry
- [instanceOf=FileEntry] object entryArg;
-
- // A string
- DOMString stringArg;
-
- // A primitive
- int intArg;
-
- // An array
- EventArgumentElement[] elements;
-
- // Optional file entry
- [instanceOf=FileEntry] object? optionalEntryArg;
-
- // A string
- DOMString? optionalStringArg;
-
- // A primitive
- int? optionalIntArg;
-
- // An array
- EventArgumentElement[]? optionalElements;
- };
-
- interface Events {
- // Documentation for the first basic event.
- static void firstBasicEvent();
-
- // Documentation for the second basic event.
- static void secondBasicEvent();
-
- // Documentation for an event with a non-optional primitive argument.
- static void nonOptionalPrimitiveArgEvent(int argument);
-
- // Documentation for an event with an optional primitive argument.
- static void optionalPrimitiveArgEvent(optional int argument);
-
- // Documentation for an event with a non-optional dictionary argument.
- static void nonOptionalDictArgEvent(EventArgument argument);
-
- // Documentation for an event with a optional dictionary argument.
- static void optionalDictArgEvent(EventArgument argument);
- };
-};
« no previous file with comments | « tools/json_schema_compiler/dart_test/events.dart ('k') | tools/json_schema_compiler/dart_test/functions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698