diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-16 07:21:10 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-16 07:21:10 +0000 |
commit | 419770c110ea852984048f3a7c635492c7b5459c (patch) | |
tree | 61409b6e44d7220571ce4a5b61aec406ceb44216 /chrome | |
parent | 559cc928dc8dddbe19d2d5630c339a580385c42b (diff) | |
download | chromium_src-419770c110ea852984048f3a7c635492c7b5459c.zip chromium_src-419770c110ea852984048f3a7c635492c7b5459c.tar.gz chromium_src-419770c110ea852984048f3a7c635492c7b5459c.tar.bz2 |
Merge 32048 - Final copyedits for beta.
TEST=none
BUG=none
TBR=aa
Review URL: http://codereview.chromium.org/395016
TBR=kathyw@google.com
Review URL: http://codereview.chromium.org/500046
git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@34661 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rwxr-xr-x | chrome/common/extensions/api/extension_api.json | 5 | ||||
-rw-r--r-- | chrome/common/extensions/docs/devguide.html | 2 | ||||
-rw-r--r-- | chrome/common/extensions/docs/extension.html | 120 | ||||
-rw-r--r-- | chrome/common/extensions/docs/static/devguide.html | 2 |
4 files changed, 22 insertions, 107 deletions
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json index 446057f..f1de616 100755 --- a/chrome/common/extensions/api/extension_api.json +++ b/chrome/common/extensions/api/extension_api.json @@ -57,7 +57,7 @@ "name": "connect", "type": "function", "unprivileged": true, - "description": "Attempts to connect to other listeners within the extension (listeners may be toolstrips or the extension's background page). This is primarily useful for content scripts connecting to their extension processes. Extensions may connect to content scripts embedded in tabs via <a href='broken'><var>chrome.tabs.connectToTab</var></a>.", + "description": "Attempts to connect to other listeners within the extension (such as the extension's background page). This is primarily useful for content scripts connecting to their extension processes. Extensions may connect to content scripts embedded in tabs via <a href='broken'><var>chrome.tabs.connectToTab</var></a>.", "parameters": [ {"type": "string", "name": "extensionId", "optional": true, "description": "The extension ID of the extension you want to connect to. If omitted, default is your own extension."}, { @@ -116,7 +116,7 @@ { "name": "getViews", "type": "function", - "description": "Returns an array of the global JavaScript objects for each of the views running inside the current extension. This includes toolstrips, background pages, and tabs.", + "description": "Returns an array of the global JavaScript objects for each of the views running inside the current extension. This includes background pages and tabs.", "parameters": [], "returns": { "type": "array", @@ -135,6 +135,7 @@ }, { "name": "getToolstrips", + "nodoc": true, "type": "function", "description": "Returns an array of the global JavaScript objects for each of the toolstrip views running inside the current extension. If windowId is specified, returns only the toolstrips attached to the specified window.", "parameters": [ diff --git a/chrome/common/extensions/docs/devguide.html b/chrome/common/extensions/docs/devguide.html index bd38826..f0f8079 100644 --- a/chrome/common/extensions/docs/devguide.html +++ b/chrome/common/extensions/docs/devguide.html @@ -338,7 +338,7 @@ and <a href="overview.html">Overview</a>. <tr> <td> <a href="messaging.html">Message Passing</a> </td> <td> Communicate from a content script to its parent extension, - or vice versa.</td> + or vice versa</td> </tr> <tr> <td> <a href="npapi.html">NPAPI Plugins</a> </td> diff --git a/chrome/common/extensions/docs/extension.html b/chrome/common/extensions/docs/extension.html index f71a215..1242b5b 100644 --- a/chrome/common/extensions/docs/extension.html +++ b/chrome/common/extensions/docs/extension.html @@ -228,8 +228,8 @@ <a href="#method-getBackgroundPage">getBackgroundPage</a> </li><li> <a href="#method-getExtensionTabs">getExtensionTabs</a> - </li><li> - <a href="#method-getToolstrips">getToolstrips</a> + </li><li style="display: none; "> + <a href="#method-anchor">methodName</a> </li><li> <a href="#method-getURL">getURL</a> </li><li> @@ -427,7 +427,7 @@ For details, see <div class="description"> <p class="todo" style="display: none; ">Undocumented.</p> - <p>Attempts to connect to other listeners within the extension (listeners may be toolstrips or the extension's background page). This is primarily useful for content scripts connecting to their extension processes. Extensions may connect to content scripts embedded in tabs via <a href="broken"><var>chrome.tabs.connectToTab</var></a>.</p> + <p>Attempts to connect to other listeners within the extension (such as the extension's background page). This is primarily useful for content scripts connecting to their extension processes. Extensions may connect to content scripts embedded in tabs via <a href="broken"><var>chrome.tabs.connectToTab</var></a>.</p> <!-- PARAMETERS --> <h4>Parameters</h4> @@ -860,65 +860,27 @@ For details, see </div> <!-- /description --> - </div><div class="apiItem"> - <a name="method-getToolstrips"></a> <!-- method-anchor --> - <h4>getToolstrips</h4> + </div><div class="apiItem" style="display: none; "> + <a></a> <!-- method-anchor --> + <h4>method name</h4> - <div class="summary"><span>array of DOMWindow</span> + <div class="summary"><span>void</span> <!-- Note: intentionally longer 80 columns --> - <span>chrome.extension.getToolstrips</span>(<span class="optional"><span style="display: none; ">, </span><span>integer</span> - <var><span>windowId</span></var></span>)</div> + <span>chrome.module.methodName</span>(<span><span>, </span><span></span> + <var><span></span></var></span>)</div> <div class="description"> - <p class="todo" style="display: none; ">Undocumented.</p> - <p>Returns an array of the global JavaScript objects for each of the toolstrip views running inside the current extension. If windowId is specified, returns only the toolstrips attached to the specified window.</p> + <p class="todo">Undocumented.</p> + <p> + A description from the json schema def of the function goes here. + </p> <!-- PARAMETERS --> <h4>Parameters</h4> <dl> <div> <div> - <dt> - <var>windowId</var> - <em> - - <!-- TYPE --> - <div style="display:inline"> - ( - <span class="optional">optional</span> - <span id="typeTemplate"> - <span style="display: none; "> - <a> Type</a> - </span> - <span> - <span style="display: none; "> - array of <span><span></span></span> - </span> - <span>integer</span> - </span> - </span> - ) - </div> - - </em> - </dt> - <dd class="todo"> - Undocumented. - </dd> - <dd style="display: none; "> - Description of this parameter from the json schema. - </dd> - - <!-- OBJECT PROPERTIES --> - <dd style="display: none; "> - <dl> - <div> - <div> - </div> - </div> - </dl> - </dd> - </div> + </div> </div> </dl> @@ -927,60 +889,12 @@ For details, see <dl> <div> <div> - <dt> - <var style="display: none; ">paramName</var> - <em> - - <!-- TYPE --> - <div style="display:inline"> - ( - <span class="optional" style="display: none; ">optional</span> - <span id="typeTemplate"> - <span style="display: none; "> - <a> Type</a> - </span> - <span> - <span> - array of <span><span> - <span style="display: none; "> - <a> Type</a> - </span> - <span> - <span style="display: none; "> - array of <span><span></span></span> - </span> - <span>DOMWindow</span> - </span> - </span></span> - </span> - <span style="display: none; ">paramType</span> - </span> - </span> - ) - </div> - - </em> - </dt> - <dd class="todo" style="display: none; "> - Undocumented. - </dd> - <dd>Array of global objects</dd> - - <!-- OBJECT PROPERTIES --> - <dd style="display: none; "> - <dl> - <div> - <div> - </div> - </div> - </dl> - </dd> - </div> + </div> </div> </dl> <!-- CALLBACK --> - <div style="display: none; "> + <div> <div> <h4>Callback function</h4> <p> @@ -1141,7 +1055,7 @@ For details, see <div class="description"> <p class="todo" style="display: none; ">Undocumented.</p> - <p>Returns an array of the global JavaScript objects for each of the views running inside the current extension. This includes toolstrips, background pages, and tabs.</p> + <p>Returns an array of the global JavaScript objects for each of the views running inside the current extension. This includes background pages and tabs.</p> <!-- PARAMETERS --> <h4>Parameters</h4> diff --git a/chrome/common/extensions/docs/static/devguide.html b/chrome/common/extensions/docs/static/devguide.html index 92e1e23..193eecb 100644 --- a/chrome/common/extensions/docs/static/devguide.html +++ b/chrome/common/extensions/docs/static/devguide.html @@ -85,7 +85,7 @@ and <a href="overview.html">Overview</a>. <tr> <td> <a href="messaging.html">Message Passing</a> </td> <td> Communicate from a content script to its parent extension, - or vice versa.</td> + or vice versa</td> </tr> <tr> <td> <a href="npapi.html">NPAPI Plugins</a> </td> |