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

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

Issue 3117029: Several small extensions docs system fixes... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/a11y.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 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 { 579 {
580 "id": "Window", 580 "id": "Window",
581 "type": "object", 581 "type": "object",
582 "properties": { 582 "properties": {
583 "id": {"type": "integer", "minimum": 0, "description": "The ID of the window. Window IDs are unique within a browser session."}, 583 "id": {"type": "integer", "minimum": 0, "description": "The ID of the window. Window IDs are unique within a browser session."},
584 "focused": {"type": "boolean", "description": "Whether the window is c urrently the focused window."}, 584 "focused": {"type": "boolean", "description": "Whether the window is c urrently the focused window."},
585 "top": {"type": "integer", "description": "The offset of the window fr om the top edge of the screen in pixels."}, 585 "top": {"type": "integer", "description": "The offset of the window fr om the top edge of the screen in pixels."},
586 "left": {"type": "integer", "description": "The offset of the window f rom the left edge of the screen in pixels."}, 586 "left": {"type": "integer", "description": "The offset of the window f rom the left edge of the screen in pixels."},
587 "width": {"type": "integer", "description": "The width of the window i n pixels."}, 587 "width": {"type": "integer", "description": "The width of the window i n pixels."},
588 "height": {"type": "integer", "description": "The height of the window in pixels."}, 588 "height": {"type": "integer", "description": "The height of the window in pixels."},
589 "tabs": {"type": "array", "items": { "$ref": "Tab" }, "optional": true , "description": "Array of <a href='tabs.html#type-Tab'>Tab</a> objects represen ting the current tabs in the window."}, 589 "tabs": {"type": "array", "items": { "$ref": "Tab" }, "optional": true , "description": "Array of $ref:Tab objects representing the current tabs in the window."},
590 "incognito": {"type": "boolean", "description": "Whether the window is incognito."}, 590 "incognito": {"type": "boolean", "description": "Whether the window is incognito."},
591 "type": { 591 "type": {
592 "type": "string", 592 "type": "string",
593 "description": "The type of browser window this is.", 593 "description": "The type of browser window this is.",
594 "enum": ["normal", "popup", "app"] 594 "enum": ["normal", "popup", "app"]
595 } 595 }
596 } 596 }
597 } 597 }
598 ], 598 ],
599 "properties": { 599 "properties": {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 "name": "getAll", 657 "name": "getAll",
658 "type": "function", 658 "type": "function",
659 "description": "Gets all windows.", 659 "description": "Gets all windows.",
660 "parameters": [ 660 "parameters": [
661 { 661 {
662 "type": "object", 662 "type": "object",
663 "name": "getInfo", 663 "name": "getInfo",
664 "optional": true, 664 "optional": true,
665 "description": "", 665 "description": "",
666 "properties": { 666 "properties": {
667 "populate": {"type": "boolean", "optional": true, "description": " If true, each window object will have a <var>tabs</var> property that contains a list of the <a href='tabs.html#type-Tab'>Tab</a> objects for that window." } 667 "populate": {"type": "boolean", "optional": true, "description": " If true, each window object will have a <var>tabs</var> property that contains a list of the $ref:Tab objects for that window." }
668 } 668 }
669 }, 669 },
670 { 670 {
671 "type": "function", 671 "type": "function",
672 "name": "callback", 672 "name": "callback",
673 "parameters": [ 673 "parameters": [
674 { 674 {
675 "name": "windows", "type": "array", "items": { "$ref": "Window" } 675 "name": "windows", "type": "array", "items": { "$ref": "Window" }
676 } 676 }
677 ] 677 ]
(...skipping 3163 matching lines...) Expand 10 before | Expand all | Expand 10 after
3841 { 3841 {
3842 "name": "onInputCancelled", 3842 "name": "onInputCancelled",
3843 "perExtensionEvent": true, 3843 "perExtensionEvent": true,
3844 "type": "function", 3844 "type": "function",
3845 "description": "User has ended the keyword input session without accepti ng the input.", 3845 "description": "User has ended the keyword input session without accepti ng the input.",
3846 "parameters": [] 3846 "parameters": []
3847 } 3847 }
3848 ] 3848 ]
3849 } 3849 }
3850 ] 3850 ]
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/a11y.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698