| OLD | NEW |
| 1 <h1>Rich Notifications</h1> | 1 <h1>Rich Notifications</h1> |
| 2 | 2 |
| 3 <p class="warning"><b>Warning:</b> | 3 <p class="warning"><b>Warning:</b> |
| 4 <code>webKitNotifications.createHTMLNotification()</code> in the | 4 <code>webKitNotifications.createHTMLNotification()</code> in the |
| 5 <a href="http://www.chromium.org/developers/design-documents/desktop-notificatio
ns/api-specification">web notifications API</a> has been deprecated. | 5 <a href="http://www.chromium.org/developers/design-documents/desktop-notificatio
ns/api-specification">web notifications API</a> has been deprecated. |
| 6 The new <a href="http://www.w3.org/TR/notifications/">web notifications API</a>
only allows text. | 6 The new <a href="http://www.w3.org/TR/notifications/">web notifications API</a>
only allows text. |
| 7 <a href="notifications.html">Chrome notifications API</a> | 7 <a href="notifications">Chrome notifications API</a> |
| 8 will be promoted to stable soon and | 8 will be promoted to stable soon and |
| 9 web notifications will be updated | 9 web notifications will be updated |
| 10 to use the new rich notifications format. | 10 to use the new rich notifications format. |
| 11 </p> | 11 </p> |
| 12 | 12 |
| 13 <p> | 13 <p> |
| 14 Use rich desktop notifications to notify users that something | 14 Use rich desktop notifications to notify users that something |
| 15 important has happened. | 15 important has happened. |
| 16 Notifications appear outside the browser window. | 16 Notifications appear outside the browser window. |
| 17 As the following snapshots show, | 17 As the following snapshots show, |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 105 |
| 106 <h2 id="examples">More Examples</h2> | 106 <h2 id="examples">More Examples</h2> |
| 107 | 107 |
| 108 <p> | 108 <p> |
| 109 You can find a simple example | 109 You can find a simple example |
| 110 of using notifications in the | 110 of using notifications in the |
| 111 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/notifications/">examples/api/notifications</a> | 111 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/notifications/">examples/api/notifications</a> |
| 112 directory. | 112 directory. |
| 113 For other examples | 113 For other examples |
| 114 and for help in viewing the source code, | 114 and for help in viewing the source code, |
| 115 see <a href="samples.html">Samples</a>. | 115 see <a href="samples">Samples</a>. |
| 116 </p> | 116 </p> |
| 117 | 117 |
| 118 <p> | 118 <p> |
| 119 Also see html5rocks.com's | 119 Also see html5rocks.com's |
| 120 <a href="http://www.html5rocks.com/tutorials/notifications/quick/">notifications
tutorial</a>. | 120 <a href="http://www.html5rocks.com/tutorials/notifications/quick/">notifications
tutorial</a>. |
| 121 Ignore the permission-related code; | 121 Ignore the permission-related code; |
| 122 it's unnecessary if you declare the "notifications" permission. | 122 it's unnecessary if you declare the "notifications" permission. |
| 123 </p> | 123 </p> |
| OLD | NEW |