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

Unified Diff: third_party/chrome/tools/test/functions_as_parameters.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/forbidden.json ('k') | third_party/chrome/tools/test/functions_on_types.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/chrome/tools/test/functions_as_parameters.json
diff --git a/third_party/chrome/tools/test/functions_as_parameters.json b/third_party/chrome/tools/test/functions_as_parameters.json
new file mode 100644
index 0000000000000000000000000000000000000000..cdc47ff65b3b41ae54eb50223f59f52a9ed542ab
--- /dev/null
+++ b/third_party/chrome/tools/test/functions_as_parameters.json
@@ -0,0 +1,28 @@
+[
+ {
+ "namespace": "functions_as_parameters",
+ "types": [
+ {
+ "id": "FunctionType",
+ "type": "object",
+ "properties": {
+ "event_callback": {
+ "type": "function",
+ "parameters": { }
+ }
+ }
+ },
+ {
+ "id": "OptionalFunctionType",
+ "type": "object",
+ "properties": {
+ "event_callback": {
+ "type": "function",
+ "optional": true,
+ "parameters": { }
+ }
+ }
+ }
+ ]
+ }
+]
« no previous file with comments | « third_party/chrome/tools/test/forbidden.json ('k') | third_party/chrome/tools/test/functions_on_types.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698