Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <div id="pageData-name" class="pageData">WebNavigation API</div> | 1 <div id="pageData-name" class="pageData">WebNavigation API</div> |
| 2 | 2 |
| 3 <!-- BEGIN AUTHORED CONTENT --> | 3 <!-- BEGIN AUTHORED CONTENT --> |
| 4 <p id="classSummary"> | 4 <p id="classSummary"> |
| 5 Use the <code>chrome.webNavigation</code> module to receive | 5 Use the <code>chrome.webNavigation</code> module to receive |
| 6 notifications about the status of navigations requests in-flight. | 6 notifications about the status of navigations requests in-flight. |
| 7 </p> | 7 </p> |
| 8 | 8 |
| 9 <h2>Manifest</h2> | 9 <h2>Manifest</h2> |
| 10 <p> | 10 <p> |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 52 before any of its children's <code>onBeforeNavigate</code>; while | 52 before any of its children's <code>onBeforeNavigate</code>; while |
| 53 <code>onCompleted</code> is fired after all of its children's | 53 <code>onCompleted</code> is fired after all of its children's |
| 54 <code>onCompleted</code>. | 54 <code>onCompleted</code>. |
| 55 </p> | 55 </p> |
| 56 <p> | 56 <p> |
| 57 If the reference fragment of a frame is changed, a | 57 If the reference fragment of a frame is changed, a |
| 58 <code>onReferenceFragmentUpdated</code> event is fired. This event can fire any | 58 <code>onReferenceFragmentUpdated</code> event is fired. This event can fire any |
| 59 time after <code>onDOMContentLoaded</code>, even after | 59 time after <code>onDOMContentLoaded</code>, even after |
| 60 <code>onCompleted</code>. | 60 <code>onCompleted</code>. |
| 61 </p> | 61 </p> |
| 62 <p> | |
| 63 If a navigation was done via <a | |
|
battre
2012/07/05 15:38:46
s/done/triggered/?
jochen (gone - plz use gerrit)
2012/07/06 11:13:50
Done.
| |
| 64 href="https://support.google.com/chrome/bin/answer.py?answer=177873">Chrome | |
| 65 Instant</a> or <a | |
| 66 href="https://support.google.com/chrome/bin/answer.py?answer=1385029">Instant | |
| 67 Pages</a>, a completely loaded page is swapped into the currently navigating | |
| 68 tab. In that case, an <code>onTabReplaced</code> event is fired. | |
| 69 </p> | |
| 62 | 70 |
| 63 <h2>Relation to webRequest events</h2> | 71 <h2>Relation to webRequest events</h2> |
| 64 <p> | 72 <p> |
| 65 There is no defined ordering between events of the <a | 73 There is no defined ordering between events of the <a |
| 66 href="webRequest.html">webRequest API</a> and the events of the | 74 href="webRequest.html">webRequest API</a> and the events of the |
| 67 webNavigation API. It is possible that webRequest events are still received for | 75 webNavigation API. It is possible that webRequest events are still received for |
| 68 frames that already started a new navigation, or that a navigation only | 76 frames that already started a new navigation, or that a navigation only |
| 69 proceeds after the network resources are already fully loaded. | 77 proceeds after the network resources are already fully loaded. |
| 70 </p> | 78 </p> |
| 71 <p> | 79 <p> |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 124 </tr> | 132 </tr> |
| 125 <tr> | 133 <tr> |
| 126 <td>"from_address_bar"</td> | 134 <td>"from_address_bar"</td> |
| 127 <td> | 135 <td> |
| 128 The user initiated the navigation from the address bar (aka Omnibox). | 136 The user initiated the navigation from the address bar (aka Omnibox). |
| 129 </td> | 137 </td> |
| 130 </tr> | 138 </tr> |
| 131 </table> | 139 </table> |
| 132 | 140 |
| 133 <!-- END AUTHORED CONTENT --> | 141 <!-- END AUTHORED CONTENT --> |
| OLD | NEW |