Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "enums", | 3 "namespace": "enums", |
| 4 "types": [ | 4 "types": [ |
| 5 { | 5 { |
| 6 "id": "EnumType", | 6 "id": "EnumType", |
| 7 "type": "object", | 7 "type": "object", |
| 8 "properties": { | 8 "properties": { |
| 9 "type": { | 9 "type": { |
| 10 "type": "string", | 10 "type": "string", |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 77 "enum": ["foo", "ding", "dong"], | 77 "enum": ["foo", "ding", "dong"], |
| 78 "optional": true | 78 "optional": true |
| 79 }, | 79 }, |
| 80 { | 80 { |
| 81 "name": "callback", | 81 "name": "callback", |
| 82 "type": "function", | 82 "type": "function", |
| 83 "parameters": [] | 83 "parameters": [] |
| 84 } | 84 } |
| 85 ] | 85 ] |
| 86 } | 86 } |
| 87 ], | |
| 88 "events": [ | |
| 89 { | |
| 90 "name": "onEnumFired", | |
| 91 "type": "function", | |
| 92 "description": "Fired when an enum is ready.", | |
| 93 "parameters": [ | |
| 94 { | |
| 95 "name": "someEnum", | |
| 96 "type": "string", | |
| 97 "enum": ["foo", "bar", "baz"] | |
| 98 } | |
| 99 ] | |
| 100 } | |
| 87 ] | 101 ] |
| 88 } | 102 } |
| 89 ] | 103 ] |
| OLD | NEW |