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

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

Issue 8411001: Fix generation of API documentation for arrays of objects (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/experimental.webRequest.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5781 matching lines...) Expand 10 before | Expand all | Expand 10 after
5792 "description": "A list of request types. Requests that cannot match any of the types will be filtered out.", 5792 "description": "A list of request types. Requests that cannot match any of the types will be filtered out.",
5793 "items": { "type": "string", "enum": ["main_frame", "sub_frame", "st ylesheet", "script", "image", "object", "xmlhttprequest", "other"] } 5793 "items": { "type": "string", "enum": ["main_frame", "sub_frame", "st ylesheet", "script", "image", "object", "xmlhttprequest", "other"] }
5794 }, 5794 },
5795 "tabId": { "type": "integer", "optional": true }, 5795 "tabId": { "type": "integer", "optional": true },
5796 "windowId": { "type": "integer", "optional": true } 5796 "windowId": { "type": "integer", "optional": true }
5797 } 5797 }
5798 }, 5798 },
5799 { 5799 {
5800 "id": "HttpHeaders", 5800 "id": "HttpHeaders",
5801 "type": "array", 5801 "type": "array",
5802 "description": "An array of HTTP headers, in the form of name/value pair s.", 5802 "description": "An array of HTTP headers. Each header is represented as a dictionary containing the keys <code>name</code> and <code>value</code>.",
5803 "items": { 5803 "items": {
5804 "type": "object", 5804 "type": "object",
5805 "properties": { 5805 "properties": {
5806 "name": {"type": "string"}, 5806 "name": {"type": "string", "description": "Name of the HTTP header." },
5807 "value": {"type": "string"} 5807 "value": {"type": "string", "description": "Value of the HTTP header ."}
5808 } 5808 }
5809 } 5809 }
5810 }, 5810 },
5811 { 5811 {
5812 "id": "BlockingResponse", 5812 "id": "BlockingResponse",
5813 "type": "object", 5813 "type": "object",
5814 "description": "Returns value for event handlers that have the 'blocking ' extraInfoSpec applied. Allows the event handler to modify network requests.", 5814 "description": "Returns value for event handlers that have the 'blocking ' extraInfoSpec applied. Allows the event handler to modify network requests.",
5815 "properties": { 5815 "properties": {
5816 "cancel": { 5816 "cancel": {
5817 "type": "boolean", 5817 "type": "boolean",
(...skipping 3348 matching lines...) Expand 10 before | Expand all | Expand 10 after
9166 } 9166 }
9167 } 9167 }
9168 } 9168 }
9169 ] 9169 ]
9170 } 9170 }
9171 ] 9171 ]
9172 } 9172 }
9173 ] 9173 ]
9174 } 9174 }
9175 ] 9175 ]
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/experimental.webRequest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698