summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/common/extensions/api/extension_api.json4
-rw-r--r--chrome/common/extensions/docs/experimental.cookies.html150
-rw-r--r--chrome/common/extensions/docs/extension.html250
-rw-r--r--chrome/common/extensions/docs/history.html122
-rw-r--r--chrome/common/extensions/docs/windows.html52
5 files changed, 308 insertions, 270 deletions
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 46b5a713..8481a20 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -2780,7 +2780,7 @@
"secure": {"type": "boolean", "description": "True if the cookie is marked as Secure (i.e. its scope is limited to secure channels, typically HTTPS)."},
"httpOnly": {"type": "boolean", "description": "True if the cookie is marked as HttpOnly (i.e. the cookie is inaccessible to client-side scripts)."},
"session": {"type": "boolean", "description": "True if the cookie is a session cookie, as opposed to a persistent cookie with an expiration date."},
- "expirationDate": {"type": "number", "optional": true, "description": "The expiration date of the cookie as the number of milliseconds since the UNIX epoch. Not provided for session cookies."},
+ "expirationDate": {"type": "number", "optional": true, "description": "The expiration date of the cookie as the number of seconds since the UNIX epoch. Not provided for session cookies."},
"storeId": {"type": "string", "description": "The ID of the cookie store containing this cookie, as provided in getAllCookieStores()."}
}
},
@@ -2868,7 +2868,7 @@
"path": {"type": "string", "optional": true, "description": "The path of the cookie. Defaults to the path portion of the url parameter."},
"secure": {"type": "boolean", "optional": true, "description": "Whether the cookie should be marked as Secure. Defaults to false."},
"httpOnly": {"type": "boolean", "optional": true, "description": "Whether the cookie should be marked as HttpOnly. Defaults to false."},
- "expirationDate": {"type": "number", "optional": true, "description": "The expiration date of the cookie as the number of milliseconds since the UNIX epoch. If omitted, the cookie becomes a session cookie."},
+ "expirationDate": {"type": "number", "optional": true, "description": "The expiration date of the cookie as the number of seconds since the UNIX epoch. If omitted, the cookie becomes a session cookie."},
"storeId": {"type": "string", "optional": true, "description": "The ID of the cookie store in which to set the cookie. By default, the cookie is set in the current execution context's cookie store."}
}
}
diff --git a/chrome/common/extensions/docs/experimental.cookies.html b/chrome/common/extensions/docs/experimental.cookies.html
index b012b06..4aa6a43 100644
--- a/chrome/common/extensions/docs/experimental.cookies.html
+++ b/chrome/common/extensions/docs/experimental.cookies.html
@@ -248,9 +248,9 @@
<a href="#types">Types</a>
<ol>
<li>
- <a href="#type-CookieStore">CookieStore</a>
- </li><li>
<a href="#type-Cookie">Cookie</a>
+ </li><li>
+ <a href="#type-CookieStore">CookieStore</a>
</li>
</ol>
</li>
@@ -1786,7 +1786,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The expiration date of the cookie as the number of milliseconds since the UNIX epoch. If omitted, the cookie becomes a session cookie.</dd>
+ <dd>The expiration date of the cookie as the number of seconds since the UNIX epoch. If omitted, the cookie becomes a session cookie.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2045,8 +2045,8 @@
<!-- iterates over all types -->
<div class="apiItem">
- <a name="type-CookieStore"></a>
- <h4>CookieStore</h4>
+ <a name="type-Cookie"></a>
+ <h4>Cookie</h4>
<div>
<dt>
@@ -2076,7 +2076,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>Represents a cookie store in the browser. An incognito mode window, for instance, uses a separate cookie store from a non-incognito window.</dd>
+ <dd>Represents information about an HTTP cookie.</dd>
<!-- OBJECT PROPERTIES -->
<dd>
@@ -2084,7 +2084,7 @@
<div>
<div>
<dt>
- <var>id</var>
+ <var>name</var>
<em>
<!-- TYPE -->
@@ -2110,7 +2110,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The unique identifier for the cookie store.</dd>
+ <dd>The name of the cookie.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2125,7 +2125,7 @@
</div><div>
<div>
<dt>
- <var>tabIds</var>
+ <var>value</var>
<em>
<!-- TYPE -->
@@ -2137,20 +2137,10 @@
<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>integer</span>
- </span>
- </span></span>
- </span>
- <span style="display: none; ">paramType</span>
+ <span>string</span>
</span>
</span>
)
@@ -2161,7 +2151,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>Identifiers of all the browser tabs that share this cookie store.</dd>
+ <dd>The value of the cookie.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2173,18 +2163,10 @@
</dl>
</dd>
</div>
- </div>
- </dl>
- </dd>
- </div>
-
- </div><div class="apiItem">
- <a name="type-Cookie"></a>
- <h4>Cookie</h4>
-
- <div>
+ </div><div>
+ <div>
<dt>
- <var style="display: none; ">paramName</var>
+ <var>domain</var>
<em>
<!-- TYPE -->
@@ -2199,7 +2181,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>object</span>
+ <span>string</span>
</span>
</span>
)
@@ -2210,15 +2192,22 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>Represents information about an HTTP cookie.</dd>
+ <dd>The domain of the cookie (e.g. "www.google.com", "example.com").</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="display: none; ">
<dl>
<div>
<div>
+ </div>
+ </div>
+ </dl>
+ </dd>
+ </div>
+ </div><div>
+ <div>
<dt>
- <var>name</var>
+ <var>hostOnly</var>
<em>
<!-- TYPE -->
@@ -2233,7 +2222,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>boolean</span>
</span>
</span>
)
@@ -2244,7 +2233,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The name of the cookie.</dd>
+ <dd>True if the cookie is a host-only cookie (i.e. a request's host must exactly match the domain of the cookie).</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2259,7 +2248,7 @@
</div><div>
<div>
<dt>
- <var>value</var>
+ <var>path</var>
<em>
<!-- TYPE -->
@@ -2285,7 +2274,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The value of the cookie.</dd>
+ <dd>The path of the cookie.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2300,7 +2289,7 @@
</div><div>
<div>
<dt>
- <var>domain</var>
+ <var>secure</var>
<em>
<!-- TYPE -->
@@ -2315,7 +2304,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>boolean</span>
</span>
</span>
)
@@ -2326,7 +2315,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The domain of the cookie (e.g. "www.google.com", "example.com").</dd>
+ <dd>True if the cookie is marked as Secure (i.e. its scope is limited to secure channels, typically HTTPS).</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2341,7 +2330,7 @@
</div><div>
<div>
<dt>
- <var>hostOnly</var>
+ <var>httpOnly</var>
<em>
<!-- TYPE -->
@@ -2367,7 +2356,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>True if the cookie is a host-only cookie (i.e. a request's host must exactly match the domain of the cookie).</dd>
+ <dd>True if the cookie is marked as HttpOnly (i.e. the cookie is inaccessible to client-side scripts).</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2382,7 +2371,7 @@
</div><div>
<div>
<dt>
- <var>path</var>
+ <var>session</var>
<em>
<!-- TYPE -->
@@ -2397,7 +2386,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>boolean</span>
</span>
</span>
)
@@ -2408,7 +2397,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The path of the cookie.</dd>
+ <dd>True if the cookie is a session cookie, as opposed to a persistent cookie with an expiration date.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2423,13 +2412,13 @@
</div><div>
<div>
<dt>
- <var>secure</var>
+ <var>expirationDate</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional" style="display: none; ">optional</span>
+ <span class="optional">optional</span>
<span id="typeTemplate">
<span style="display: none; ">
<a> Type</a>
@@ -2438,7 +2427,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>boolean</span>
+ <span>number</span>
</span>
</span>
)
@@ -2449,7 +2438,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>True if the cookie is marked as Secure (i.e. its scope is limited to secure channels, typically HTTPS).</dd>
+ <dd>The expiration date of the cookie as the number of seconds since the UNIX epoch. Not provided for session cookies.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2464,7 +2453,7 @@
</div><div>
<div>
<dt>
- <var>httpOnly</var>
+ <var>storeId</var>
<em>
<!-- TYPE -->
@@ -2479,7 +2468,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>boolean</span>
+ <span>string</span>
</span>
</span>
)
@@ -2490,7 +2479,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>True if the cookie is marked as HttpOnly (i.e. the cookie is inaccessible to client-side scripts).</dd>
+ <dd>The ID of the cookie store containing this cookie, as provided in getAllCookieStores().</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2502,10 +2491,18 @@
</dl>
</dd>
</div>
- </div><div>
- <div>
+ </div>
+ </dl>
+ </dd>
+ </div>
+
+ </div><div class="apiItem">
+ <a name="type-CookieStore"></a>
+ <h4>CookieStore</h4>
+
+ <div>
<dt>
- <var>session</var>
+ <var style="display: none; ">paramName</var>
<em>
<!-- TYPE -->
@@ -2520,7 +2517,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>boolean</span>
+ <span>object</span>
</span>
</span>
)
@@ -2531,28 +2528,21 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>True if the cookie is a session cookie, as opposed to a persistent cookie with an expiration date.</dd>
+ <dd>Represents a cookie store in the browser. An incognito mode window, for instance, uses a separate cookie store from a non-incognito window.</dd>
<!-- OBJECT PROPERTIES -->
- <dd style="display: none; ">
+ <dd>
<dl>
<div>
<div>
- </div>
- </div>
- </dl>
- </dd>
- </div>
- </div><div>
- <div>
<dt>
- <var>expirationDate</var>
+ <var>id</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="display: none; ">optional</span>
<span id="typeTemplate">
<span style="display: none; ">
<a> Type</a>
@@ -2561,7 +2551,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>number</span>
+ <span>string</span>
</span>
</span>
)
@@ -2572,7 +2562,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The expiration date of the cookie as the number of milliseconds since the UNIX epoch. Not provided for session cookies.</dd>
+ <dd>The unique identifier for the cookie store.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2587,7 +2577,7 @@
</div><div>
<div>
<dt>
- <var>storeId</var>
+ <var>tabIds</var>
<em>
<!-- TYPE -->
@@ -2599,10 +2589,20 @@
<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>string</span>
+ <span>integer</span>
+ </span>
+ </span></span>
+ </span>
+ <span style="display: none; ">paramType</span>
</span>
</span>
)
@@ -2613,7 +2613,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The ID of the cookie store containing this cookie, as provided in getAllCookieStores().</dd>
+ <dd>Identifiers of all the browser tabs that share this cookie store.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
diff --git a/chrome/common/extensions/docs/extension.html b/chrome/common/extensions/docs/extension.html
index 7a5dc58..1ca507a 100644
--- a/chrome/common/extensions/docs/extension.html
+++ b/chrome/common/extensions/docs/extension.html
@@ -260,11 +260,11 @@
<a href="#types">Types</a>
<ol>
<li>
+ <a href="#type-MessageSender">MessageSender</a>
+ </li><li>
<a href="#type-Event">Event</a>
</li><li>
<a href="#type-Port">Port</a>
- </li><li>
- <a href="#type-MessageSender">MessageSender</a>
</li>
</ol>
</li>
@@ -1963,8 +1963,8 @@ For details, see
<!-- iterates over all types -->
<div class="apiItem">
- <a name="type-Event"></a>
- <h4>Event</h4>
+ <a name="type-MessageSender"></a>
+ <h4>MessageSender</h4>
<div>
<dt>
@@ -1994,7 +1994,7 @@ For details, see
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>An object which allows the addition and removal of listeners for a Chrome event.</dd>
+ <dd>An object containing information about the script context that sent a message or request.</dd>
<!-- OBJECT PROPERTIES -->
<dd>
@@ -2002,22 +2002,22 @@ For details, see
<div>
<div>
<dt>
- <var>addListener</var>
+ <var>tab</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional" style="display: none; ">optional</span>
+ <span class="optional">optional</span>
<span id="typeTemplate">
- <span style="display: none; ">
- <a> Type</a>
- </span>
<span>
- <span style="display: none; ">
+ <a href="tabs.html#type-Tab">Tab</a>
+ </span>
+ <span style="display: none; ">
+ <span>
array of <span><span></span></span>
</span>
- <span>function</span>
+ <span>paramType</span>
</span>
</span>
)
@@ -2025,12 +2025,10 @@ For details, see
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd style="display: none; ">
- Description of this parameter from the json schema.
- </dd>
+ <dd>This property will <b>only</b> be present when the connection was opened from a tab or content script.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2045,7 +2043,7 @@ For details, see
</div><div>
<div>
<dt>
- <var>removeListener</var>
+ <var>id</var>
<em>
<!-- TYPE -->
@@ -2060,7 +2058,7 @@ For details, see
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>function</span>
+ <span>string</span>
</span>
</span>
)
@@ -2068,12 +2066,10 @@ For details, see
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd style="display: none; ">
- Description of this parameter from the json schema.
- </dd>
+ <dd>The extension ID of the extension that opened the connection.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2085,10 +2081,18 @@ For details, see
</dl>
</dd>
</div>
- </div><div>
- <div>
+ </div>
+ </dl>
+ </dd>
+ </div>
+
+ </div><div class="apiItem">
+ <a name="type-Event"></a>
+ <h4>Event</h4>
+
+ <div>
<dt>
- <var>hasListener</var>
+ <var style="display: none; ">paramName</var>
<em>
<!-- TYPE -->
@@ -2103,7 +2107,7 @@ For details, see
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>function</span>
+ <span>object</span>
</span>
</span>
)
@@ -2111,27 +2115,18 @@ For details, see
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd style="display: none; ">
- Description of this parameter from the json schema.
- </dd>
+ <dd>An object which allows the addition and removal of listeners for a Chrome event.</dd>
<!-- OBJECT PROPERTIES -->
- <dd style="display: none; ">
+ <dd>
<dl>
<div>
<div>
- </div>
- </div>
- </dl>
- </dd>
- </div>
- </div><div>
- <div>
<dt>
- <var>hasListeners</var>
+ <var>addListener</var>
<em>
<!-- TYPE -->
@@ -2171,18 +2166,10 @@ For details, see
</dl>
</dd>
</div>
- </div>
- </dl>
- </dd>
- </div>
-
- </div><div class="apiItem">
- <a name="type-Port"></a>
- <h4>Port</h4>
-
- <div>
+ </div><div>
+ <div>
<dt>
- <var style="display: none; ">paramName</var>
+ <var>removeListener</var>
<em>
<!-- TYPE -->
@@ -2197,7 +2184,7 @@ For details, see
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>object</span>
+ <span>function</span>
</span>
</span>
)
@@ -2205,18 +2192,27 @@ For details, see
</em>
</dt>
- <dd class="todo" style="display: none; ">
+ <dd class="todo">
Undocumented.
</dd>
- <dd>An object which allows two way communication with other pages.</dd>
+ <dd style="display: none; ">
+ Description of this parameter from the json schema.
+ </dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="display: none; ">
<dl>
<div>
<div>
+ </div>
+ </div>
+ </dl>
+ </dd>
+ </div>
+ </div><div>
+ <div>
<dt>
- <var>name</var>
+ <var>hasListener</var>
<em>
<!-- TYPE -->
@@ -2231,7 +2227,7 @@ For details, see
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>function</span>
</span>
</span>
)
@@ -2259,7 +2255,7 @@ For details, see
</div><div>
<div>
<dt>
- <var>onDisconnect</var>
+ <var>hasListeners</var>
<em>
<!-- TYPE -->
@@ -2267,14 +2263,14 @@ For details, see
(
<span class="optional" style="display: none; ">optional</span>
<span id="typeTemplate">
- <span>
- <a href="extension.html#type-Event">Event</a>
- </span>
<span style="display: none; ">
- <span>
+ <a> Type</a>
+ </span>
+ <span>
+ <span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>paramType</span>
+ <span>function</span>
</span>
</span>
)
@@ -2299,10 +2295,18 @@ For details, see
</dl>
</dd>
</div>
- </div><div>
- <div>
+ </div>
+ </dl>
+ </dd>
+ </div>
+
+ </div><div class="apiItem">
+ <a name="type-Port"></a>
+ <h4>Port</h4>
+
+ <div>
<dt>
- <var>onMessage</var>
+ <var style="display: none; ">paramName</var>
<em>
<!-- TYPE -->
@@ -2310,14 +2314,14 @@ For details, see
(
<span class="optional" style="display: none; ">optional</span>
<span id="typeTemplate">
- <span>
- <a href="extension.html#type-Event">Event</a>
- </span>
<span style="display: none; ">
- <span>
+ <a> Type</a>
+ </span>
+ <span>
+ <span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>paramType</span>
+ <span>object</span>
</span>
</span>
)
@@ -2325,27 +2329,18 @@ For details, see
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd style="display: none; ">
- Description of this parameter from the json schema.
- </dd>
+ <dd>An object which allows two way communication with other pages.</dd>
<!-- OBJECT PROPERTIES -->
- <dd style="display: none; ">
+ <dd>
<dl>
<div>
<div>
- </div>
- </div>
- </dl>
- </dd>
- </div>
- </div><div>
- <div>
<dt>
- <var>postMessage</var>
+ <var>name</var>
<em>
<!-- TYPE -->
@@ -2360,7 +2355,7 @@ For details, see
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>function</span>
+ <span>string</span>
</span>
</span>
)
@@ -2388,16 +2383,16 @@ For details, see
</div><div>
<div>
<dt>
- <var>sender</var>
+ <var>onDisconnect</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="display: none; ">optional</span>
<span id="typeTemplate">
<span>
- <a href="extension.html#type-MessageSender">MessageSender</a>
+ <a href="extension.html#type-Event">Event</a>
</span>
<span style="display: none; ">
<span>
@@ -2411,10 +2406,12 @@ For details, see
</em>
</dt>
- <dd class="todo" style="display: none; ">
+ <dd class="todo">
Undocumented.
</dd>
- <dd>This property will <b>only</b> be present on ports passed to onConnect/onConnectExternal listeners.</dd>
+ <dd style="display: none; ">
+ Description of this parameter from the json schema.
+ </dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2426,18 +2423,10 @@ For details, see
</dl>
</dd>
</div>
- </div>
- </dl>
- </dd>
- </div>
-
- </div><div class="apiItem">
- <a name="type-MessageSender"></a>
- <h4>MessageSender</h4>
-
- <div>
+ </div><div>
+ <div>
<dt>
- <var style="display: none; ">paramName</var>
+ <var>onMessage</var>
<em>
<!-- TYPE -->
@@ -2445,14 +2434,14 @@ For details, see
(
<span class="optional" style="display: none; ">optional</span>
<span id="typeTemplate">
- <span style="display: none; ">
- <a> Type</a>
- </span>
<span>
- <span style="display: none; ">
+ <a href="extension.html#type-Event">Event</a>
+ </span>
+ <span style="display: none; ">
+ <span>
array of <span><span></span></span>
</span>
- <span>object</span>
+ <span>paramType</span>
</span>
</span>
)
@@ -2460,33 +2449,42 @@ For details, see
</em>
</dt>
- <dd class="todo" style="display: none; ">
+ <dd class="todo">
Undocumented.
</dd>
- <dd>An object containing information about the script context that sent a message or request.</dd>
+ <dd style="display: none; ">
+ Description of this parameter from the json schema.
+ </dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="display: none; ">
<dl>
<div>
<div>
+ </div>
+ </div>
+ </dl>
+ </dd>
+ </div>
+ </div><div>
+ <div>
<dt>
- <var>tab</var>
+ <var>postMessage</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="display: none; ">optional</span>
<span id="typeTemplate">
- <span>
- <a href="tabs.html#type-Tab">Tab</a>
- </span>
<span style="display: none; ">
- <span>
+ <a> Type</a>
+ </span>
+ <span>
+ <span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>paramType</span>
+ <span>function</span>
</span>
</span>
)
@@ -2494,10 +2492,12 @@ For details, see
</em>
</dt>
- <dd class="todo" style="display: none; ">
+ <dd class="todo">
Undocumented.
</dd>
- <dd>This property will <b>only</b> be present when the connection was opened from a tab or content script.</dd>
+ <dd style="display: none; ">
+ Description of this parameter from the json schema.
+ </dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2512,22 +2512,22 @@ For details, see
</div><div>
<div>
<dt>
- <var>id</var>
+ <var>sender</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional" style="display: none; ">optional</span>
+ <span class="optional">optional</span>
<span id="typeTemplate">
- <span style="display: none; ">
- <a> Type</a>
- </span>
<span>
- <span style="display: none; ">
+ <a href="extension.html#type-MessageSender">MessageSender</a>
+ </span>
+ <span style="display: none; ">
+ <span>
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>paramType</span>
</span>
</span>
)
@@ -2538,7 +2538,7 @@ For details, see
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The extension ID of the extension that opened the connection.</dd>
+ <dd>This property will <b>only</b> be present on ports passed to onConnect/onConnectExternal listeners.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
diff --git a/chrome/common/extensions/docs/history.html b/chrome/common/extensions/docs/history.html
index 78aaafa..06aefee 100644
--- a/chrome/common/extensions/docs/history.html
+++ b/chrome/common/extensions/docs/history.html
@@ -266,9 +266,9 @@
<a href="#types">Types</a>
<ol>
<li>
- <a href="#type-VisitItem">VisitItem</a>
- </li><li>
<a href="#type-HistoryItem">HistoryItem</a>
+ </li><li>
+ <a href="#type-VisitItem">VisitItem</a>
</li>
</ol>
</li>
@@ -1874,8 +1874,8 @@ For other examples and for help in viewing the source code, see
<!-- iterates over all types -->
<div class="apiItem">
- <a name="type-VisitItem"></a>
- <h4>VisitItem</h4>
+ <a name="type-HistoryItem"></a>
+ <h4>HistoryItem</h4>
<div>
<dt>
@@ -1905,7 +1905,7 @@ For other examples and for help in viewing the source code, see
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>An object encapsulating one visit to a URL.</dd>
+ <dd>An object encapsulating one result of a history query.</dd>
<!-- OBJECT PROPERTIES -->
<dd>
@@ -1954,13 +1954,13 @@ For other examples and for help in viewing the source code, see
</div><div>
<div>
<dt>
- <var>visitId</var>
+ <var>url</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional" style="display: none; ">optional</span>
+ <span class="optional">optional</span>
<span id="typeTemplate">
<span style="display: none; ">
<a> Type</a>
@@ -1980,7 +1980,7 @@ For other examples and for help in viewing the source code, see
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The unique identifier for this visit.</dd>
+ <dd>The URL navigated to by a user.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -1995,7 +1995,7 @@ For other examples and for help in viewing the source code, see
</div><div>
<div>
<dt>
- <var>visitTime</var>
+ <var>title</var>
<em>
<!-- TYPE -->
@@ -2010,7 +2010,7 @@ For other examples and for help in viewing the source code, see
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>number</span>
+ <span>string</span>
</span>
</span>
)
@@ -2021,7 +2021,7 @@ For other examples and for help in viewing the source code, see
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>When this visit occurred, represented in milliseconds since the epoch.</dd>
+ <dd>The title of the history page.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2036,13 +2036,13 @@ For other examples and for help in viewing the source code, see
</div><div>
<div>
<dt>
- <var>referringVisitId</var>
+ <var>lastVisitTime</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional" style="display: none; ">optional</span>
+ <span class="optional">optional</span>
<span id="typeTemplate">
<span style="display: none; ">
<a> Type</a>
@@ -2051,7 +2051,7 @@ For other examples and for help in viewing the source code, see
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>number</span>
</span>
</span>
)
@@ -2062,7 +2062,7 @@ For other examples and for help in viewing the source code, see
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The visit_id of the referrer.</dd>
+ <dd>When this page was last loaded, represented in milliseconds since the epoch.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2077,13 +2077,13 @@ For other examples and for help in viewing the source code, see
</div><div>
<div>
<dt>
- <var>transition</var>
+ <var>visitCount</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional" style="display: none; ">optional</span>
+ <span class="optional">optional</span>
<span id="typeTemplate">
<span style="display: none; ">
<a> Type</a>
@@ -2092,7 +2092,7 @@ For other examples and for help in viewing the source code, see
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>integer</span>
</span>
</span>
)
@@ -2103,7 +2103,7 @@ For other examples and for help in viewing the source code, see
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The <a href="#transition_types">transition type</a> for this visit from its referrer.</dd>
+ <dd>The number of times the user has navigated to this page.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2115,24 +2115,16 @@ For other examples and for help in viewing the source code, see
</dl>
</dd>
</div>
- </div>
- </dl>
- </dd>
- </div>
-
- </div><div class="apiItem">
- <a name="type-HistoryItem"></a>
- <h4>HistoryItem</h4>
-
- <div>
+ </div><div>
+ <div>
<dt>
- <var style="display: none; ">paramName</var>
+ <var>typedCount</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional" style="display: none; ">optional</span>
+ <span class="optional">optional</span>
<span id="typeTemplate">
<span style="display: none; ">
<a> Type</a>
@@ -2141,7 +2133,7 @@ For other examples and for help in viewing the source code, see
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>object</span>
+ <span>integer</span>
</span>
</span>
)
@@ -2152,15 +2144,30 @@ For other examples and for help in viewing the source code, see
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>An object encapsulating one result of a history query.</dd>
+ <dd>The number of times the user has navigated to this page by typing in the address.</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="display: none; ">
<dl>
<div>
<div>
+ </div>
+ </div>
+ </dl>
+ </dd>
+ </div>
+ </div>
+ </dl>
+ </dd>
+ </div>
+
+ </div><div class="apiItem">
+ <a name="type-VisitItem"></a>
+ <h4>VisitItem</h4>
+
+ <div>
<dt>
- <var>id</var>
+ <var style="display: none; ">paramName</var>
<em>
<!-- TYPE -->
@@ -2175,7 +2182,7 @@ For other examples and for help in viewing the source code, see
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>object</span>
</span>
</span>
)
@@ -2186,28 +2193,21 @@ For other examples and for help in viewing the source code, see
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The unique identifier for the item.</dd>
+ <dd>An object encapsulating one visit to a URL.</dd>
<!-- OBJECT PROPERTIES -->
- <dd style="display: none; ">
+ <dd>
<dl>
<div>
<div>
- </div>
- </div>
- </dl>
- </dd>
- </div>
- </div><div>
- <div>
<dt>
- <var>url</var>
+ <var>id</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="display: none; ">optional</span>
<span id="typeTemplate">
<span style="display: none; ">
<a> Type</a>
@@ -2227,7 +2227,7 @@ For other examples and for help in viewing the source code, see
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The URL navigated to by a user.</dd>
+ <dd>The unique identifier for the item.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2242,13 +2242,13 @@ For other examples and for help in viewing the source code, see
</div><div>
<div>
<dt>
- <var>title</var>
+ <var>visitId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="display: none; ">optional</span>
<span id="typeTemplate">
<span style="display: none; ">
<a> Type</a>
@@ -2268,7 +2268,7 @@ For other examples and for help in viewing the source code, see
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The title of the history page.</dd>
+ <dd>The unique identifier for this visit.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2283,7 +2283,7 @@ For other examples and for help in viewing the source code, see
</div><div>
<div>
<dt>
- <var>lastVisitTime</var>
+ <var>visitTime</var>
<em>
<!-- TYPE -->
@@ -2309,7 +2309,7 @@ For other examples and for help in viewing the source code, see
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>When this page was last loaded, represented in milliseconds since the epoch.</dd>
+ <dd>When this visit occurred, represented in milliseconds since the epoch.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2324,13 +2324,13 @@ For other examples and for help in viewing the source code, see
</div><div>
<div>
<dt>
- <var>visitCount</var>
+ <var>referringVisitId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="display: none; ">optional</span>
<span id="typeTemplate">
<span style="display: none; ">
<a> Type</a>
@@ -2339,7 +2339,7 @@ For other examples and for help in viewing the source code, see
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>integer</span>
+ <span>string</span>
</span>
</span>
)
@@ -2350,7 +2350,7 @@ For other examples and for help in viewing the source code, see
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The number of times the user has navigated to this page.</dd>
+ <dd>The visit_id of the referrer.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2365,13 +2365,13 @@ For other examples and for help in viewing the source code, see
</div><div>
<div>
<dt>
- <var>typedCount</var>
+ <var>transition</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="display: none; ">optional</span>
<span id="typeTemplate">
<span style="display: none; ">
<a> Type</a>
@@ -2380,7 +2380,7 @@ For other examples and for help in viewing the source code, see
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>integer</span>
+ <span>string</span>
</span>
</span>
)
@@ -2391,7 +2391,7 @@ For other examples and for help in viewing the source code, see
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The number of times the user has navigated to this page by typing in the address.</dd>
+ <dd>The <a href="#transition_types">transition type</a> for this visit from its referrer.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
diff --git a/chrome/common/extensions/docs/windows.html b/chrome/common/extensions/docs/windows.html
index 2c9c11d..867d29e 100644
--- a/chrome/common/extensions/docs/windows.html
+++ b/chrome/common/extensions/docs/windows.html
@@ -226,11 +226,11 @@
<li>
<a href="#apiReference">API reference: chrome.windows</a>
<ol>
- <li style="display: none; ">
+ <li>
<a href="#properties">Properties</a>
<ol>
<li>
- <a href="#property-anchor">propertyName</a>
+ <a href="#property-WINDOW_ID_NONE">WINDOW_ID_NONE</a>
</li>
</ol>
</li>
@@ -362,19 +362,57 @@ For other examples and for help in viewing the source code, see
<h2>API reference: chrome.windows</h2>
<!-- PROPERTIES -->
- <div class="apiGroup" style="display: none; ">
+ <div class="apiGroup">
<a name="properties"></a>
<h3 id="properties">Properties</h3>
<div>
- <a></a>
- <h4>getLastError</h4>
+ <a name="property-WINDOW_ID_NONE"></a>
+ <h4>WINDOW_ID_NONE</h4>
<div class="summary">
<!-- Note: intentionally longer 80 columns -->
- <span>chrome.extension</span><span>lastError</span>
+ <span>chrome.windows.</span><span>WINDOW_ID_NONE</span>
</div>
<div>
+ <dt>
+ <var>WINDOW_ID_NONE</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 style="display: none; ">
+ array of <span><span></span></span>
+ </span>
+ <span>integer</span>
+ </span>
+ </span>
+ )
+ </div>
+
+ </em>
+ </dt>
+ <dd class="todo" style="display: none; ">
+ Undocumented.
+ </dd>
+ <dd>The windowId value that represents the absence of a chrome browser window.</dd>
+
+ <!-- OBJECT PROPERTIES -->
+ <dd style="display: none; ">
+ <dl>
+ <div>
+ <div>
+ </div>
</div>
+ </dl>
+ </dd>
+ </div>
</div>
</div> <!-- /apiGroup -->
@@ -2142,7 +2180,7 @@ For other examples and for help in viewing the source code, see
<div class="description">
<p class="todo" style="display: none; ">Undocumented.</p>
- <p>Fired when the currently focused window changes.</p>
+ <p>Fired when the currently focused window changes. Will be chrome.windows.WINDOW_ID_NONE if all chrome windows have lost focus. Note: On some Linux window managers, WINDOW_ID_NONE will always be sent immediately preceding a switch from one chrome window to another.</p>
<!-- PARAMETERS -->
<h4>Parameters</h4>