summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/common/extensions/docs/history.html127
-rw-r--r--chrome/common/extensions/docs/static/history.html5
2 files changed, 69 insertions, 63 deletions
diff --git a/chrome/common/extensions/docs/history.html b/chrome/common/extensions/docs/history.html
index 48cd58a..7079c0c 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-HistoryItem">HistoryItem</a>
- </li><li>
<a href="#type-VisitItem">VisitItem</a>
+ </li><li>
+ <a href="#type-HistoryItem">HistoryItem</a>
</li>
</ol>
</li>
@@ -427,8 +427,11 @@ The following table describes each transition type.
<h2 id="examples">Examples</h2>
<p>
-For an example of using this API, see the
+For examples of using bookmarks, see the
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/history/">history sample directory</a> and the
<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/api_test/history/">history API test directory</a>.
+For other examples and for help in viewing the source code, see
+<a href="samples.html">Samples</a>.
</p>
<!-- END AUTHORED CONTENT -->
@@ -1871,8 +1874,8 @@ For an example of using this API, see the
<!-- iterates over all types -->
<div class="apiItem">
- <a name="type-HistoryItem"></a>
- <h4>HistoryItem</h4>
+ <a name="type-VisitItem"></a>
+ <h4>VisitItem</h4>
<div>
<dt>
@@ -1902,7 +1905,7 @@ For an example of using this API, see the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>An object encapsulating one result of a history query.</dd>
+ <dd>An object encapsulating one visit to a URL.</dd>
<!-- OBJECT PROPERTIES -->
<dd>
@@ -1951,13 +1954,13 @@ For an example of using this API, see the
</div><div>
<div>
<dt>
- <var>url</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>
@@ -1977,7 +1980,7 @@ For an example of using this API, see the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The URL navigated to by a user.</dd>
+ <dd>The unique identifier for this visit.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -1992,7 +1995,7 @@ For an example of using this API, see the
</div><div>
<div>
<dt>
- <var>title</var>
+ <var>visitTime</var>
<em>
<!-- TYPE -->
@@ -2007,7 +2010,7 @@ For an example of using this API, see the
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>number</span>
</span>
</span>
)
@@ -2018,7 +2021,7 @@ For an example of using this API, see the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The title of the history page.</dd>
+ <dd>When this visit occurred, represented in milliseconds since the epoch.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2033,13 +2036,13 @@ For an example of using this API, see the
</div><div>
<div>
<dt>
- <var>lastVisitTime</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>
@@ -2048,7 +2051,7 @@ For an example of using this API, see the
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>number</span>
+ <span>string</span>
</span>
</span>
)
@@ -2059,7 +2062,7 @@ For an example of using this API, see the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>When this page was last loaded, represented in milliseconds since the epoch.</dd>
+ <dd>The visit_id of the referrer.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2074,13 +2077,13 @@ For an example of using this API, see the
</div><div>
<div>
<dt>
- <var>visitCount</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>
@@ -2089,7 +2092,7 @@ For an example of using this API, see the
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>integer</span>
+ <span>string</span>
</span>
</span>
)
@@ -2100,7 +2103,7 @@ For an example of using this API, see the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The number of times the user has navigated to this page.</dd>
+ <dd>The <a href="#transition_types">transition type</a> for this visit from its referrer.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2112,16 +2115,24 @@ For an example of using this API, see the
</dl>
</dd>
</div>
- </div><div>
- <div>
+ </div>
+ </dl>
+ </dd>
+ </div>
+
+ </div><div class="apiItem">
+ <a name="type-HistoryItem"></a>
+ <h4>HistoryItem</h4>
+
+ <div>
<dt>
- <var>typedCount</var>
+ <var style="display: none; ">paramName</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>
@@ -2130,7 +2141,7 @@ For an example of using this API, see the
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>integer</span>
+ <span>object</span>
</span>
</span>
)
@@ -2141,30 +2152,15 @@ For an example of using this API, see the
<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>An object encapsulating one result of a history query.</dd>
<!-- OBJECT PROPERTIES -->
- <dd style="display: none; ">
+ <dd>
<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 style="display: none; ">paramName</var>
+ <var>id</var>
<em>
<!-- TYPE -->
@@ -2179,7 +2175,7 @@ For an example of using this API, see the
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>object</span>
+ <span>string</span>
</span>
</span>
)
@@ -2190,21 +2186,28 @@ For an example of using this API, see the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>An object encapsulating one visit to a URL.</dd>
+ <dd>The unique identifier for the item.</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="display: none; ">
<dl>
<div>
<div>
+ </div>
+ </div>
+ </dl>
+ </dd>
+ </div>
+ </div><div>
+ <div>
<dt>
- <var>id</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>
@@ -2224,7 +2227,7 @@ For an example of using this API, see the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The unique identifier for the item.</dd>
+ <dd>The URL navigated to by a user.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2239,13 +2242,13 @@ For an example of using this API, see the
</div><div>
<div>
<dt>
- <var>visitId</var>
+ <var>title</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>
@@ -2265,7 +2268,7 @@ For an example of using this API, see the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The unique identifier for this visit.</dd>
+ <dd>The title of the history page.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2280,7 +2283,7 @@ For an example of using this API, see the
</div><div>
<div>
<dt>
- <var>visitTime</var>
+ <var>lastVisitTime</var>
<em>
<!-- TYPE -->
@@ -2306,7 +2309,7 @@ For an example of using this API, see the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>When this visit occurred, represented in milliseconds since the epoch.</dd>
+ <dd>When this page was last loaded, represented in milliseconds since the epoch.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2321,13 +2324,13 @@ For an example of using this API, see the
</div><div>
<div>
<dt>
- <var>referringVisitId</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>
@@ -2336,7 +2339,7 @@ For an example of using this API, see the
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>integer</span>
</span>
</span>
)
@@ -2347,7 +2350,7 @@ For an example of using this API, see the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The visit_id of the referrer.</dd>
+ <dd>The number of times the user has navigated to this page.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2362,13 +2365,13 @@ For an example of using this API, see the
</div><div>
<div>
<dt>
- <var>transition</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>
@@ -2377,7 +2380,7 @@ For an example of using this API, see the
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>integer</span>
</span>
</span>
)
@@ -2388,7 +2391,7 @@ For an example of using this API, see the
<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 by typing in the address.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
diff --git a/chrome/common/extensions/docs/static/history.html b/chrome/common/extensions/docs/static/history.html
index 418a1c5..8eb6b4e 100644
--- a/chrome/common/extensions/docs/static/history.html
+++ b/chrome/common/extensions/docs/static/history.html
@@ -146,8 +146,11 @@ The following table describes each transition type.
<h2 id="examples">Examples</h2>
<p>
-For an example of using this API, see the
+For examples of using bookmarks, see the
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/history/">history sample directory</a> and the
<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/api_test/history/">history API test directory</a>.
+For other examples and for help in viewing the source code, see
+<a href="samples.html">Samples</a>.
</p>
<!-- END AUTHORED CONTENT -->