diff options
author | skerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-11 20:53:53 +0000 |
---|---|---|
committer | skerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-11 20:53:53 +0000 |
commit | 36af9a08491edb98dbed888b337b74b8080affbe (patch) | |
tree | 6dd7209bacaa69a182cc8580b4aba00a3f554da2 /chrome/common/extensions | |
parent | d9f3bc02d588d43b871301d35e25ffc56c24c1fc (diff) | |
download | chromium_src-36af9a08491edb98dbed888b337b74b8080affbe.zip chromium_src-36af9a08491edb98dbed888b337b74b8080affbe.tar.gz chromium_src-36af9a08491edb98dbed888b337b74b8080affbe.tar.bz2 |
Improve wording for getExtensionTabs docs.
BUG=NONE
TEST=Run build script to check that json is valid.
Review URL: http://codereview.chromium.org/545091
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38805 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions')
-rwxr-xr-x | chrome/common/extensions/api/extension_api.json | 16 | ||||
-rw-r--r-- | chrome/common/extensions/docs/extension.html | 8 |
2 files changed, 12 insertions, 12 deletions
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json index 5ade26f..c2be2c2 100755 --- a/chrome/common/extensions/api/extension_api.json +++ b/chrome/common/extensions/api/extension_api.json @@ -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 background pages and tabs.", + "description": "Returns an array of the JavaScript 'window' objects for each of the pages running inside the current extension. This includes background pages and tabs.", "parameters": [], "returns": { "type": "array", @@ -127,7 +127,7 @@ { "name": "getBackgroundPage", "type": "function", - "description": "Returns the global JavaScript object for the background page running inside the current extension. Returns null if the extension has no backround page.", + "description": "Returns the JavaScript 'window' object for the background page running inside the current extension. Returns null if the extension has no backround page.", "parameters": [], "returns": { "type": "object", "isInstanceOf": "DOMWindow", "properties": {}, "additionalProperties": { "type": "any" } @@ -137,26 +137,26 @@ "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.", + "description": "Returns an array of the JavaScript 'window' objects for each of the toolstrip views running inside the current extension. If windowId is specified, returns only the 'window' objects of toolstrips attached to the specified window.", "parameters": [ {"type": "integer", "name": "windowId", "optional": true} ], "returns": { "type": "array", - "description": "Array of global objects", + "description": "Array of global window objects", "items": { "type": "object", "isInstanceOf": "DOMWindow", "properties": {}, "additionalProperties": { "type": "any" } } } }, { "name": "getExtensionTabs", "type": "function", - "description": "Returns an array of the global JavaScript objects for each of the tab contents views running inside the current extension. If windowId is specified, returns only the tab contentses attached to the specified window.", + "description": "Returns an array of the JavaScript 'window' objects for each of the tabs running inside the current extension. If windowId is specified, returns only the 'window' objects of tabs attached to the specified window.", "parameters": [ {"type": "integer", "name": "windowId", "optional": true} ], "returns": { "type": "array", - "description": "Array of global objects", + "description": "Array of global window objects", "items": { "type": "object", "isInstanceOf": "DOMWindow", "properties": {}, "additionalProperties": { "type": "any" } } } } @@ -387,7 +387,7 @@ { "name": "getPopupView", "type": "function", - "description": "Returns a reference to the window object of the popup view. Returns undefined if no popup presently shown.", + "description": "Returns a reference to the JavaScript 'window' object of the popup view. Returns undefined if no popup presently shown.", "parameters": [], "returns": { "type": "object", @@ -1926,7 +1926,7 @@ { "name": "getParentWindow", "type": "function", - "description": "Returns a reference to the window object of the extension view that launched the popup. Returns undefined if called outside of a popup window.", + "description": "Returns a reference to the JavaScript 'window' object of the extension view that launched the popup. Returns undefined if called outside of a popup window.", "parameters": [], "returns": { "type": "object", diff --git a/chrome/common/extensions/docs/extension.html b/chrome/common/extensions/docs/extension.html index 4ff7ee1..dec7290 100644 --- a/chrome/common/extensions/docs/extension.html +++ b/chrome/common/extensions/docs/extension.html @@ -647,7 +647,7 @@ For details, see <div class="description"> <p class="todo" style="display: none; ">Undocumented.</p> - <p>Returns the global JavaScript object for the background page running inside the current extension. Returns null if the extension has no backround page.</p> + <p>Returns the JavaScript 'window' object for the background page running inside the current extension. Returns null if the extension has no backround page.</p> <!-- PARAMETERS --> <h4>Parameters</h4> @@ -744,7 +744,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 tab contents views running inside the current extension. If windowId is specified, returns only the tab contentses attached to the specified window.</p> + <p>Returns an array of the JavaScript 'window' objects for each of the tabs running inside the current extension. If windowId is specified, returns only the 'window' objects of tabs attached to the specified window.</p> <!-- PARAMETERS --> <h4>Parameters</h4> @@ -837,7 +837,7 @@ For details, see <dd class="todo" style="display: none; "> Undocumented. </dd> - <dd>Array of global objects</dd> + <dd>Array of global window objects</dd> <!-- OBJECT PROPERTIES --> <dd style="display: none; "> @@ -1081,7 +1081,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 background pages and tabs.</p> + <p>Returns an array of the JavaScript 'window' objects for each of the pages running inside the current extension. This includes background pages and tabs.</p> <!-- PARAMETERS --> <h4>Parameters</h4> |