| Index: chrome/common/extensions/api/experimental.declarative.json
|
| diff --git a/chrome/common/extensions/api/experimental.declarative.json b/chrome/common/extensions/api/experimental.declarative.json
|
| index 06026e6c0756457eaae56d80e15a75e059be52de..4ca1283d5631fed3717e2850f9f46313ec5267a8 100644
|
| --- a/chrome/common/extensions/api/experimental.declarative.json
|
| +++ b/chrome/common/extensions/api/experimental.declarative.json
|
| @@ -28,6 +28,34 @@
|
| "description": "Optional priority of this rule. Defaults to 100."
|
| }
|
| }
|
| + },
|
| + {
|
| + "nodoc": true,
|
| + "id": "TestCondition",
|
| + "type": "object",
|
| + "description": "Test condition for unit testing.",
|
| + "properties": {
|
| + "testParameter": {
|
| + "type": "string",
|
| + "description": "Optional test parameter",
|
| + "optional": true
|
| + },
|
| + "instanceType": { "type": "string", "enum": ["experimental.declarative.TestCondition"] }
|
| + }
|
| + },
|
| + {
|
| + "nodoc": true,
|
| + "id": "TestAction",
|
| + "type": "object",
|
| + "description": "Test action for unit testing.",
|
| + "properties": {
|
| + "testParameter": {
|
| + "type": "string",
|
| + "description": "Optional test parameter",
|
| + "optional": true
|
| + },
|
| + "instanceType": { "type": "string", "enum": ["experimental.declarative.TestAction"] }
|
| + }
|
| }
|
| ],
|
| "functions": [
|
| @@ -119,6 +147,18 @@
|
| }
|
| ]
|
| }
|
| + ],
|
| + "events": [
|
| + {
|
| + "nodoc": true,
|
| + "name": "testEvent",
|
| + "options": {
|
| + "supportsListeners": false,
|
| + "supportsRules": true,
|
| + "conditions": ["TestCondition"],
|
| + "actions": ["TestAction"]
|
| + }
|
| + }
|
| ]
|
| }
|
| ]
|
|
|