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

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 7041005: Content settings extension API: Implement ContentSetting.getResourceIdentifiers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 5684 matching lines...) Expand 10 before | Expand all | Expand 10 after
5695 { 5695 {
5696 "id": "ResourceIdentifier", 5696 "id": "ResourceIdentifier",
5697 "type": "object", 5697 "type": "object",
5698 "properties": { 5698 "properties": {
5699 "id": { 5699 "id": {
5700 "type": "string", 5700 "type": "string",
5701 "description": "The resource identifier for the given content type." 5701 "description": "The resource identifier for the given content type."
5702 }, 5702 },
5703 "description": { 5703 "description": {
5704 "type": "string", 5704 "type": "string",
5705 "optional": true,
5705 "description": "A human readable description of the resource." 5706 "description": "A human readable description of the resource."
5706 } 5707 }
5707 }, 5708 },
5708 "description": "Currently, no content types use resource identifiers." 5709 "description": "Currently, no content types use resource identifiers."
5709 }, 5710 },
5710 { 5711 {
5711 "id": "Pattern", 5712 "id": "Pattern",
5712 "type": "object", 5713 "type": "object",
5713 "properties": { 5714 "properties": {
5714 "pattern": { 5715 "pattern": {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
5850 } 5851 }
5851 } 5852 }
5852 }, 5853 },
5853 { 5854 {
5854 "type": "function", 5855 "type": "function",
5855 "name": "callback", 5856 "name": "callback",
5856 "optional": true, 5857 "optional": true,
5857 "parameters": [] 5858 "parameters": []
5858 } 5859 }
5859 ] 5860 ]
5861 },
5862 {
5863 "name": "getResourceIdentifiers",
5864 "type": "function",
5865 "description": "",
5866 "parameters": [
5867 {
5868 "name": "callback",
5869 "type": "function",
5870 "parameters": [
5871 {
5872 "type": "array",
5873 "description": "A list of resource identifiers for this cont ent type, or <var>undefined</var> if this content type does not use resource ide ntifiers",
battre 2011/06/14 16:31:01 nit: end with "."?
Bernhard Bauer 2011/06/15 10:04:57 Done.
5874 "optional": true,
5875 "items": {
5876 "$ref": "ResourceIdentifier"
5877 }
5878 }
5879 ]
5880 }
5881 ]
5860 } 5882 }
5861 ] 5883 ]
5862 } 5884 }
5863 ], 5885 ],
5864 "properties": { 5886 "properties": {
5865 "global": { 5887 "global": {
5866 "type": "object", 5888 "type": "object",
5867 "value": {}, 5889 "value": {},
5868 "properties": { 5890 "properties": {
5869 "thirdPartyCookiesAllowed": { 5891 "thirdPartyCookiesAllowed": {
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
6050 { 6072 {
6051 "type": "integer", 6073 "type": "integer",
6052 "name": "tabId", 6074 "name": "tabId",
6053 "description": "The id of the tab that was detached." 6075 "description": "The id of the tab that was detached."
6054 } 6076 }
6055 ] 6077 ]
6056 } 6078 }
6057 ] 6079 ]
6058 } 6080 }
6059 ] 6081 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698