Chromium Code Reviews

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

Issue 5563012: Re-generate extension API docs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase before commit Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/extensions/benchmark.zip » ('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 3798 matching lines...)
3809 } 3809 }
3810 }, 3810 },
3811 { 3811 {
3812 "type": "function", 3812 "type": "function",
3813 "name": "callback", 3813 "name": "callback",
3814 "parameters": [ 3814 "parameters": [
3815 { 3815 {
3816 "name": "state", 3816 "name": "state",
3817 "type": "string", 3817 "type": "string",
3818 "enum": ["hidden", "shown", "active"], 3818 "enum": ["hidden", "shown", "active"],
3819 "description": "'hidden' indicates sidebar is not defined for th e specified tab (show was never called or hide() was called). Nothing is display ed for this sidebar.</br>'shown' means sidebar is defined for the specified tab; mini tab is displayed for this sidebar. Sidebar UI is either collapsed or displ aying a content of some other extension's sidebar.</br>'active' indicates that s idebar is defined for the specified tab; sidebar UI is expanded and displaying t his sidebar's content." 3819 "description": "'hidden' indicates sidebar is not defined for th e specified tab (show was never called or hide() was called). Nothing is display ed for this sidebar.<br>'shown' means sidebar is defined for the specified tab; mini tab is displayed for this sidebar. Sidebar UI is either collapsed or displa ying a content of some other extension's sidebar.<br>'active' indicates that sid ebar is defined for the specified tab; sidebar UI is expanded and displaying thi s sidebar's content."
3820 } 3820 }
3821 ] 3821 ]
3822 } 3822 }
3823 ] 3823 ]
3824 }, 3824 },
3825 { 3825 {
3826 "name": "setBadgeText", 3826 "name": "setBadgeText",
3827 "type": "function", 3827 "type": "function",
3828 "description": "Sets sidebar's mini tab badge text for the specified tab .", 3828 "description": "Sets sidebar's mini tab badge text for the specified tab .",
3829 "parameters": [ 3829 "parameters": [
(...skipping 535 matching lines...)
4365 "token": { "type": "string", "optional": true } 4365 "token": { "type": "string", "optional": true }
4366 } 4366 }
4367 } 4367 }
4368 ] 4368 ]
4369 } 4369 }
4370 ] 4370 ]
4371 } 4371 }
4372 ] 4372 ]
4373 } 4373 }
4374 ] 4374 ]
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/extensions/benchmark.zip » ('j') | no next file with comments »

Powered by Google App Engine