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

Unified Diff: third_party/chrome/tools/test/forbidden.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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: third_party/chrome/tools/test/forbidden.json
diff --git a/third_party/chrome/tools/test/forbidden.json b/third_party/chrome/tools/test/forbidden.json
new file mode 100644
index 0000000000000000000000000000000000000000..c7978aaa9b54423fbd4d0246f74450110e31ff80
--- /dev/null
+++ b/third_party/chrome/tools/test/forbidden.json
@@ -0,0 +1,39 @@
+[
+ {
+ "namespace": "forbidden",
+ "types": [],
+ "functions": [
+ {
+ "name": "forbiddenParameters",
+ "type": "function",
+ "description": "Don't do this at home. Accepts multiple choices and values",
+ "parameters": [
+ {
+ "name": "firstChoice",
+ "description": "a choice between int and array",
+ "choices": [
+ {"type": "integer", "minimum": 0},
+ {"type": "array", "items": {"type": "integer"}}
+ ]
+ },
+ {
+ "type": "string",
+ "name": "firstString"
+ },
+ {
+ "name": "secondChoice",
+ "description": "a choice between int and array",
+ "choices": [
+ {"type": "integer", "minimum": 0},
+ {"type": "array", "items": {"type": "integer"}}
+ ]
+ },
+ {
+ "type": "string",
+ "name": "secondString"
+ }
+ ]
+ }
+ ]
+ }
+]
« no previous file with comments | « third_party/chrome/tools/test/font_settings.json ('k') | third_party/chrome/tools/test/functions_as_parameters.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698