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

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

Issue 454019: Addition of optional giveFocus parameter to experimental.popup.show(...) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years 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 1650 matching lines...) Expand 10 before | Expand all | Expand 10 after
1661 { 1661 {
1662 "type": "object", 1662 "type": "object",
1663 "name": "showDetails", 1663 "name": "showDetails",
1664 "properties": { 1664 "properties": {
1665 "relativeTo": { 1665 "relativeTo": {
1666 "type": "object", 1666 "type": "object",
1667 "properties": {}, 1667 "properties": {},
1668 "additionalProperties": { "type": "any" }, 1668 "additionalProperties": { "type": "any" },
1669 "isInstanceOf": "HTMLElement", 1669 "isInstanceOf": "HTMLElement",
1670 "description": "A HTML DOM object to which the pop-up's position will be made relative." 1670 "description": "A HTML DOM object to which the pop-up's position will be made relative."
1671 },
1672 "giveFocus": {
1673 "type": "boolean",
1674 "description": "Pass true to give the focus to the popup window. The default behaviour is true.",
1675 "optional": true
1671 } 1676 }
1672 } 1677 }
1673 }, 1678 },
1674 { 1679 {
1675 "type": "function", 1680 "type": "function",
1676 "name": "callback", 1681 "name": "callback",
1677 "optional": true, 1682 "optional": true,
1678 "parameters": [] 1683 "parameters": []
1679 } 1684 }
1680 ] 1685 ]
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
1757 "type": "function", 1762 "type": "function",
1758 "description": "Logs a message during internal unit testing.", 1763 "description": "Logs a message during internal unit testing.",
1759 "parameters": [ 1764 "parameters": [
1760 {"type": "string", "name": "message"} 1765 {"type": "string", "name": "message"}
1761 ] 1766 ]
1762 } 1767 }
1763 ], 1768 ],
1764 "events": [] 1769 "events": []
1765 } 1770 }
1766 ] 1771 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698