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

Unified Diff: third_party/chrome/tools/test/any.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
« no previous file with comments | « third_party/chrome/tools/test/additional_properties.json ('k') | third_party/chrome/tools/test/arrays.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/chrome/tools/test/any.json
diff --git a/third_party/chrome/tools/test/any.json b/third_party/chrome/tools/test/any.json
new file mode 100644
index 0000000000000000000000000000000000000000..55da4a6119c0f844575063e6487eb15ef07a83d4
--- /dev/null
+++ b/third_party/chrome/tools/test/any.json
@@ -0,0 +1,67 @@
+[
+ {
+ "namespace": "any",
+ "types": [
+ {
+ "id": "AnyType",
+ "type": "object",
+ "properties": {
+ "any": {
+ "type": "any",
+ "description": "Any way you want it, that's the way you need it."
+ }
+ }
+ }
+ ],
+ "functions": [
+ {
+ "name": "optionalAny",
+ "type": "function",
+ "description": "Takes an optional any param.",
+ "parameters": [
+ {
+ "type": "any",
+ "name": "anyName",
+ "optional": true
+ },
+ {
+ "type": "function",
+ "name": "callback",
+ "parameters": []
+ }
+ ]
+ },
+ {
+ "name": "returnAny",
+ "type": "function",
+ "description": "Returns any.",
+ "nodoc": "true",
+ "parameters": [
+ {
+ "type": "function",
+ "name": "callback",
+ "parameters": [
+ {
+ "name": "result",
+ "type": "any"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "events": [
+ {
+ "name": "onAnyFired",
+ "type": "function",
+ "description": "Fired when anything is ready.",
+ "parameters": [
+ {
+ "name": "something",
+ "type": "any"
+ }
+ ]
+ }
+ ]
+ }
+]
« no previous file with comments | « third_party/chrome/tools/test/additional_properties.json ('k') | third_party/chrome/tools/test/arrays.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698