diff options
Diffstat (limited to 'chrome/common/extensions/docs/browserAction.html')
-rw-r--r-- | chrome/common/extensions/docs/browserAction.html | 213 |
1 files changed, 196 insertions, 17 deletions
diff --git a/chrome/common/extensions/docs/browserAction.html b/chrome/common/extensions/docs/browserAction.html index f8b505f..5ed7b39 100644 --- a/chrome/common/extensions/docs/browserAction.html +++ b/chrome/common/extensions/docs/browserAction.html @@ -81,6 +81,16 @@ </dl> </dd> + <!-- OBJECT METHODS --> + <dd> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd> <div></div> @@ -294,7 +304,7 @@ </ol> </li> <li> - <a href="#methods">Methods</a> + <a href="#global-methods">Methods</a> <ol> <li> <a href="#method-setBadgeBackgroundColor">setBadgeBackgroundColor</a> @@ -310,7 +320,7 @@ </ol> </li> <li> - <a href="#events">Events</a> + <a href="#global-events">Events</a> <ol> <li> <a href="#event-onClicked">onClicked</a> @@ -385,7 +395,7 @@ like this: "name": "My extension", ... <b>"browser_action": { - "default_icon": "images/icon19.png", <em>// <b>required</b></em> + "default_icon": "images/icon19.png", <em>// optional</em> "default_title": "Google Mail", <em>// optional; shown in tooltip</em> "default_popup": "popup.html" <em>// optional</em> }</b>, @@ -395,8 +405,7 @@ like this: <h2 id="ui">Parts of the UI</h2> <p> -A browser action must have an <a href="#icon">icon</a>. -It can also have +A browser action can have an <a href="#icon">icon</a>, a <a href="#tooltip">tooltip</a>, a <a href="#badge">badge</a>, and a <a href="#popups">popup</a>. @@ -540,8 +549,8 @@ For other examples and for help in viewing the source code, see </div> <!-- /apiGroup --> <!-- METHODS --> - <div class="apiGroup" id="methods"> - <a name="methods"></a> + <div id="methodsTemplate" class="apiGroup"> + <a name="global-methods"></a> <h3>Methods</h3> <!-- iterates over all functions --> @@ -671,6 +680,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -729,6 +748,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -739,6 +768,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -905,6 +944,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -963,6 +1012,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -973,6 +1032,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -1139,6 +1208,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -1197,6 +1276,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -1255,6 +1344,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -1265,6 +1364,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -1431,6 +1540,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -1489,6 +1608,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -1499,6 +1628,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -1665,6 +1804,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -1723,6 +1872,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -1733,6 +1892,16 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> @@ -1789,10 +1958,9 @@ For other examples and for help in viewing the source code, see </div> <!-- /apiGroup --> <!-- EVENTS --> - <div class="apiGroup"> - <a name="events"></a> - <h3 id="events">Events</h3> - + <div id="eventsTemplate" class="apiGroup"> + <a name="global-events"></a> + <h3>Events</h3> <!-- iterates over all events --> <div class="apiItem"> <a name="event-onClicked"></a> @@ -1808,10 +1976,11 @@ For other examples and for help in viewing the source code, see <p>Fired when a browser action icon is clicked. This event will not fire if the browser action has a popup.</p> <!-- PARAMETERS --> - <h4>Parameters</h4> - <dl> - <div> + <div> + <h4>Parameters</h4> + <dl> <div> + <div> <dt> <var>tab</var> <em> @@ -1864,15 +2033,25 @@ For other examples and for help in viewing the source code, see </dl> </dd> + <!-- OBJECT METHODS --> + <dd style="display: none; "> + <div></div> + </dd> + + <!-- OBJECT EVENT FIELDS --> + <dd style="display: none; "> + <div></div> + </dd> + <!-- FUNCTION PARAMETERS --> <dd style="display: none; "> <div></div> </dd> </div> - </div> - </dl> - + </div> + </dl> + </div> </div> <!-- /decription --> </div> <!-- /apiItem --> |