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

Unified Diff: tools/json_schema_compiler/test/idl_basics.idl

Issue 9617010: Move chrome.downloads out of experimental to dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 8 years, 6 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/test/idl_basics.idl
diff --git a/tools/json_schema_compiler/test/idl_basics.idl b/tools/json_schema_compiler/test/idl_basics.idl
index d85b5e2e5a5be6ea5c47cfc628ee42a793ee0f97..0a9dff35ae2f0ffe89e208e9430dea687dff2e0e 100644
--- a/tools/json_schema_compiler/test/idl_basics.idl
+++ b/tools/json_schema_compiler/test/idl_basics.idl
@@ -5,11 +5,25 @@
// Tests a variety of basic API definition features.
namespace idl_basics {
+ // Enum description
enum EnumType {
name1,
name2
};
+ // IntegerEnum description
+ enum IntegerEnumType {
+ int0 = 0,
+ int1 = 42
+ };
+
+ // DoubleEnumType description
+ enum DoubleEnumType {
+ pi = 3.14159265,
+ avogadro = 6.0221415e23,
+ planck = 6.626068e-34
+ };
+
dictionary MyType1 {
long x; // This comment tests "double-quotes".
DOMString y;
« tools/json_schema_compiler/idl_schema.py ('K') | « tools/json_schema_compiler/schema_util.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698