Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Side by Side Diff: chrome/common/extensions/docs/templates/articles/richNotifications.html

Issue 721033003: Fix Chrome OS spelling in documentation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <h1 id="richNotifications">Rich Notifications</h1> 1 <h1 id="richNotifications">Rich Notifications</h1>
2 2
3 <p>The <a href="https://developer.chrome.com/apps/notifications">rich notificati ons API</a> 3 <p>The <a href="https://developer.chrome.com/apps/notifications">rich notificati ons API</a>
4 lets you create notifications using templates and 4 lets you create notifications using templates and
5 show these notifications to users in the user's system tray: 5 show these notifications to users in the user's system tray:
6 </p> 6 </p>
7 7
8 <p><img src="{{static}}/images/notifications.png" 8 <p><img src="{{static}}/images/notifications.png"
9 alt="Notifications in system user tray"> 9 alt="Notifications in system user tray">
10 </p> 10 </p>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 alt="Progress notification"> 52 alt="Progress notification">
53 </p> 53 </p>
54 54
55 <h2 id="behave">How they behave</h2> 55 <h2 id="behave">How they behave</h2>
56 56
57 <p> 57 <p>
58 Notifications show up in a user's system tray, 58 Notifications show up in a user's system tray,
59 and stay in the system tray until the user dismisses them. 59 and stay in the system tray until the user dismisses them.
60 On most platforms, 60 On most platforms,
61 the bell icon is lit when there's new notifications; 61 the bell icon is lit when there's new notifications;
62 On ChromeOS, 62 On Chrome OS,
63 the system tray keeps a count of all new notifications. 63 the system tray keeps a count of all new notifications.
64 Once a users sees the notifications in the system tray, 64 Once a users sees the notifications in the system tray,
65 the count is reset to zero; 65 the count is reset to zero;
66 </p> 66 </p>
67 67
68 <p> 68 <p>
69 Notifications can be assigned a priority between -2 to 2. 69 Notifications can be assigned a priority between -2 to 2.
70 Priorities < 0 are only shown in the center; 70 Priorities < 0 are only shown in the center;
71 priorities > 0 are shown for increasing duration and 71 priorities > 0 are shown for increasing duration and
72 more high priority notifications can be displayed in the system tray. 72 more high priority notifications can be displayed in the system tray.
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 function replyBtnClick { 221 function replyBtnClick {
222 //Write function to respond to user action. 222 //Write function to respond to user action.
223 } 223 }
224 </pre> 224 </pre>
225 225
226 <p>Consider including event listeners and handlers within the 226 <p>Consider including event listeners and handlers within the
227 <a href="app_lifecycle#create_event_page">event page</a>, 227 <a href="app_lifecycle#create_event_page">event page</a>,
228 so that notifications can pop-up even when the app or extension isn't running. 228 so that notifications can pop-up even when the app or extension isn't running.
229 </p> 229 </p>
230 230
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698