| Index: chrome/common/extensions/api/declarative_content.json
|
| diff --git a/chrome/common/extensions/api/declarative_content.json b/chrome/common/extensions/api/declarative_content.json
|
| index c84a29a01101b6b789177acca12f48e77a69edce..9ae020e2c3a857c0ea5be75b00be15d80f654694 100644
|
| --- a/chrome/common/extensions/api/declarative_content.json
|
| +++ b/chrome/common/extensions/api/declarative_content.json
|
| @@ -16,6 +16,26 @@
|
| "inline_doc": true
|
| },
|
| {
|
| + "id": "PageStateMatcherInstanceType",
|
| + "type": "string",
|
| + "enum": ["declarativeContent.PageStateMatcher"]
|
| + },
|
| + {
|
| + "id": "ShowPageActionInstanceType",
|
| + "type": "string",
|
| + "enum": ["declarativeContent.ShowPageAction"]
|
| + },
|
| + {
|
| + "id": "SetIconInstanceType",
|
| + "type": "string",
|
| + "enum": ["declarativeContent.SetIcon"]
|
| + },
|
| + {
|
| + "id": "RequestContentScriptInstanceType",
|
| + "type": "string",
|
| + "enum": ["declarativeContent.RequestContentScript"]
|
| + },
|
| + {
|
| "id": "PageStateMatcher",
|
| "type": "object",
|
| "description": "Matches the state of a web page by various criteria.",
|
| @@ -46,7 +66,7 @@
|
| "optional": true
|
| },
|
| "instanceType": {
|
| - "type": "string", "enum": ["declarativeContent.PageStateMatcher"],
|
| + "$ref": "PageStateMatcherInstanceType",
|
| "nodoc": true
|
| }
|
| }
|
| @@ -57,7 +77,7 @@
|
| "type": "object",
|
| "properties": {
|
| "instanceType": {
|
| - "type": "string", "enum": ["declarativeContent.ShowPageAction"],
|
| + "$ref": "ShowPageActionInstanceType",
|
| "nodoc": true
|
| }
|
| }
|
| @@ -68,7 +88,7 @@
|
| "type": "object",
|
| "properties": {
|
| "instanceType": {
|
| - "type": "string", "enum": ["declarativeContent.SetIcon"],
|
| + "$ref": "SetIconInstanceType",
|
| "nodoc": true
|
| },
|
| "imageData": {
|
| @@ -123,7 +143,7 @@
|
| "description": "Whether to insert the content script on about:blank and about:srcdoc. Default is false."
|
| },
|
| "instanceType": {
|
| - "type": "string", "enum": ["declarativeContent.RequestContentScript"],
|
| + "$ref": "RequestContentScriptInstanceType",
|
| "nodoc": true
|
| }
|
| }
|
|
|