| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 { | 6 { |
| 7 "namespace": "experimental.declarative", | 7 "namespace": "declarative", |
| 8 "internal": true, | 8 "internal": true, |
| 9 "documentation_permissions_required": ["declarative"], |
| 9 "types": [ | 10 "types": [ |
| 10 { | 11 { |
| 11 "id": "Rule", | 12 "id": "Rule", |
| 12 "type": "object", | 13 "type": "object", |
| 13 "description": "Description of a declarative rule for handling events.", | 14 "description": "Description of a declarative rule for handling events.", |
| 14 "properties": { | 15 "properties": { |
| 15 "id": { | 16 "id": { |
| 16 "type": "string", | 17 "type": "string", |
| 17 "optional": true, | 18 "optional": true, |
| 18 "description": "Optional identifier that allows referencing this rul
e." | 19 "description": "Optional identifier that allows referencing this rul
e." |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 "type": "function", | 224 "type": "function", |
| 224 "parameters": [], | 225 "parameters": [], |
| 225 "description": "Called when rules were unregistered." | 226 "description": "Called when rules were unregistered." |
| 226 } | 227 } |
| 227 ] | 228 ] |
| 228 } | 229 } |
| 229 ] | 230 ] |
| 230 } | 231 } |
| 231 ] | 232 ] |
| 232 | 233 |
| OLD | NEW |