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

Unified Diff: third_party/chrome/tools/test/crossref.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/crossref.json
diff --git a/third_party/chrome/tools/test/crossref.json b/third_party/chrome/tools/test/crossref.json
new file mode 100644
index 0000000000000000000000000000000000000000..9d3f90578447dc56612784074af937a4b17aa879
--- /dev/null
+++ b/third_party/chrome/tools/test/crossref.json
@@ -0,0 +1,75 @@
+[
+ {
+ "namespace": "crossref",
+ "dependencies": ["simple_api"],
+ "types": [
+ {
+ "id": "CrossrefType",
+ "type": "object",
+ "properties": {
+ "testType": {
+ "$ref": "simple_api.TestType",
+ "optional": true
+ }
+ }
+ }
+ ],
+ "functions": [
+ {
+ "name": "testTypeOptionalParam",
+ "type": "function",
+ "description": "Takes TestType as a param.",
+ "parameters": [
+ {
+ "name": "testType",
+ "$ref": "simple_api.TestType",
+ "optional": true
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "parameters": []
+ }
+ ]
+ },
+ {
+ "name": "getTestType",
+ "type": "function",
+ "description": "Return a TestType.",
+ "parameters": [
+ {
+ "name": "callback",
+ "type": "function",
+ "parameters": [
+ {
+ "name": "result",
+ "$ref": "simple_api.TestType",
+ "description": "A TestType."
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "testTypeInObject",
+ "type": "function",
+ "description": "Takes an optional object with a TestType and a bool.",
+ "parameters": [
+ {
+ "name": "paramObject",
+ "type": "object",
+ "properties": {
+ "testType": {"$ref": "simple_api.TestType", "optional": true},
+ "boolean": {"type": "boolean"}
+ }
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "parameters": []
+ }
+ ]
+ }
+ ]
+ }
+]
« no previous file with comments | « third_party/chrome/tools/test/content_settings.json ('k') | third_party/chrome/tools/test/dependency_tester.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698