| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "extension", | 3 "namespace": "extension", |
| 4 "types": [ | 4 "types": [ |
| 5 { | 5 { |
| 6 "id": "MessageSender", | 6 "id": "MessageSender", |
| 7 "type": "object", | 7 "type": "object", |
| 8 "description": "An object containing information about the script contex
t that sent a message or request.", | 8 "description": "An object containing information about the script contex
t that sent a message or request.", |
| 9 "properties": { | 9 "properties": { |
| 10 "tab": {"$ref": "Tab", "optional": true, "description":"This property
will <b>only</b> be present when the connection was opened from a tab or content
script."}, | 10 "tab": {"$ref": "Tab", "optional": true, "description":"This property
will <b>only</b> be present when the connection was opened from a tab or content
script."}, |
| (...skipping 1624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1635 }, | 1635 }, |
| 1636 { | 1636 { |
| 1637 "namespace": "experimental.popup", | 1637 "namespace": "experimental.popup", |
| 1638 "nodoc": true, | 1638 "nodoc": true, |
| 1639 "types": [], | 1639 "types": [], |
| 1640 "functions": [ | 1640 "functions": [ |
| 1641 { | 1641 { |
| 1642 "name": "show", | 1642 "name": "show", |
| 1643 "type": "function", | 1643 "type": "function", |
| 1644 "description": "Displays a pop-up window hosting an extension view.", | 1644 "description": "Displays a pop-up window hosting an extension view.", |
| 1645 "customHandler": "true", | |
| 1646 "parameters": [ | 1645 "parameters": [ |
| 1647 { | 1646 { |
| 1648 "type": "string", | 1647 "type": "string", |
| 1649 "name": "url", | 1648 "name": "url", |
| 1650 "description": "The URL of the contents to which the pop-up will be
navigated." | 1649 "description": "The URL of the contents to which the pop-up will be
navigated." |
| 1651 }, | 1650 }, |
| 1652 { | 1651 { |
| 1653 "type": "object", | 1652 "type": "object", |
| 1654 "name": "showDetails", | 1653 "name": "showDetails", |
| 1655 "properties": { | 1654 "properties": { |
| 1656 "relativeTo": { | 1655 "relativeTo": { |
| 1657 "type": "object", | 1656 "type": "object", |
| 1658 "properties": {}, | 1657 "properties": {}, |
| 1659 "additionalProperties": { "type": "any" }, | 1658 "additionalProperties": { "type": "any" }, |
| 1660 "isInstanceOf": "HTMLElement", | 1659 "isInstanceOf": "HTMLElement", |
| 1661 "description": "The HTMLElement whose position which serve as th
e anchor position of the popup." | 1660 "description": "A HTML DOM object to which the pop-up's position
will be made relative." |
| 1662 } | 1661 } |
| 1663 } | 1662 } |
| 1664 }, | 1663 }, |
| 1665 { | 1664 { |
| 1666 "type": "function", | 1665 "type": "function", |
| 1667 "name": "callback", | 1666 "name": "callback", |
| 1668 "parameters": [] | 1667 "parameters": [] |
| 1669 } | 1668 } |
| 1670 ] | 1669 ] |
| 1671 }, | 1670 }, |
| 1672 { | 1671 { |
| 1673 "name": "getAnchorWindow", | 1672 "name": "getParentWindow", |
| 1674 "type": "function", | 1673 "type": "function", |
| 1675 "description": "Returns a reference to the window object of the extensio
n view that launched the popup.", | 1674 "description": "Returns a reference to the window object of the extensio
n view that launched the popup.", |
| 1676 "parameters": [], | 1675 "parameters": [], |
| 1677 "returns": { | 1676 "returns": { |
| 1678 "type": "object", | 1677 "type": "object", |
| 1679 "isInstanceOf": "DOMWindow", | 1678 "isInstanceOf": "DOMWindow", |
| 1680 "properties": {}, | 1679 "properties": {}, |
| 1681 "additionalProperties": { "type": "any" } | 1680 "additionalProperties": { "type": "any" } |
| 1682 } | 1681 } |
| 1683 } | 1682 } |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1740 "type": "function", | 1739 "type": "function", |
| 1741 "description": "Logs a message during internal unit testing.", | 1740 "description": "Logs a message during internal unit testing.", |
| 1742 "parameters": [ | 1741 "parameters": [ |
| 1743 {"type": "string", "name": "message"} | 1742 {"type": "string", "name": "message"} |
| 1744 ] | 1743 ] |
| 1745 } | 1744 } |
| 1746 ], | 1745 ], |
| 1747 "events": [] | 1746 "events": [] |
| 1748 } | 1747 } |
| 1749 ] | 1748 ] |
| OLD | NEW |