| OLD | NEW |
| (Empty) |
| 1 [ | |
| 2 { | |
| 3 "copyright": [ | |
| 4 "Copyright (c) 2013 The Chromium Authors. All rights reserved.", | |
| 5 "Use of this source code is governed by a BSD-style license that can be", | |
| 6 "found in the LICENSE file." | |
| 7 ], | |
| 8 "api": "notifications", | |
| 9 "events": [ | |
| 10 "onDisplayed", | |
| 11 "onClosed", | |
| 12 "onClicked", | |
| 13 "onButtonClicked" | |
| 14 ], | |
| 15 "globals": { | |
| 16 "type": "$?", | |
| 17 "priority": "$!" | |
| 18 } | |
| 19 }, | |
| 20 { | |
| 21 "sectionName": "WebKit Notifications", | |
| 22 "notificationType": "webkit", | |
| 23 "notificationOptions": [ | |
| 24 { | |
| 25 "iconUrl": "/images/man1-80x80.jpg", | |
| 26 "title": "Althe Frazon", | |
| 27 "message": "Lorem ipsum" | |
| 28 }, | |
| 29 { | |
| 30 "iconUrl": "/images/woman1-80x80.jpg", | |
| 31 "title": "Kathrine Doiss", | |
| 32 "message": "Dolor sit amet" | |
| 33 }, | |
| 34 { | |
| 35 "iconUrl": "/images/woman2-80x80.jpg", | |
| 36 "title": "Jamie Haynig", | |
| 37 "message": "Consectetur adipisicing elit" | |
| 38 }, | |
| 39 { | |
| 40 "iconUrl": "/images/woman3-80x80.jpg", | |
| 41 "title": "Maricia Rilari", | |
| 42 "message": "Sed do eiusmod tempor incididunt" | |
| 43 } | |
| 44 ] | |
| 45 }, | |
| 46 { | |
| 47 "sectionName": "Simple Notifications", | |
| 48 "notificationType": "simple", | |
| 49 "notificationOptions": [ | |
| 50 { | |
| 51 "iconUrl": "/images/man1-80x80.jpg", | |
| 52 "title": "Althe Frazon", | |
| 53 "message": "Lorem ipsum" | |
| 54 }, | |
| 55 { | |
| 56 "iconUrl": "/images/woman1-80x80.jpg", | |
| 57 "title": "Kathrine Doiss", | |
| 58 "message": "Dolor sit amet" | |
| 59 }, | |
| 60 { | |
| 61 "iconUrl": "/images/woman2-80x80.jpg", | |
| 62 "title": "Jamie Haynig", | |
| 63 "message": "Consectetur adipisicing elit" | |
| 64 }, | |
| 65 { | |
| 66 "iconUrl": "/images/woman3-80x80.jpg", | |
| 67 "title": "Maricia Rilari", | |
| 68 "message": "Sed do eiusmod tempor incididunt" | |
| 69 } | |
| 70 ] | |
| 71 }, | |
| 72 { | |
| 73 "sectionName": "Basic Notifications", | |
| 74 "notificationType": "basic", | |
| 75 "notificationOptions": [ | |
| 76 { | |
| 77 "iconUrl": "/images/man1-80x80.jpg", | |
| 78 "title": "Althe Frazon", | |
| 79 "message": "Lorem ipsum", | |
| 80 "buttons": [ | |
| 81 {"title": "Call", "iconUrl": "/images/call-16x16.png"}, | |
| 82 {"title": "Send Email", "iconUrl": "/images/send-16x16.png"} | |
| 83 ] | |
| 84 }, | |
| 85 { | |
| 86 "iconUrl": "/images/woman1-80x80.jpg", | |
| 87 "title": "Kathrine Doiss", | |
| 88 "message": "Dolor sit amet" | |
| 89 }, | |
| 90 { | |
| 91 "iconUrl": "/images/woman2-80x80.jpg", | |
| 92 "title": "Jamie Haynig", | |
| 93 "message": "Consectetur adipisicing elit" | |
| 94 }, | |
| 95 { | |
| 96 "iconUrl": "/images/woman3-80x80.jpg", | |
| 97 "title": "Maricia Rilari", | |
| 98 "message": "Sed do eiusmod tempor incididunt" | |
| 99 }, | |
| 100 { | |
| 101 "iconUrl": "/images/fruit1-80x80.jpg", | |
| 102 "title": "Notification #$#: Pears!", | |
| 103 "message": "Pyrus" | |
| 104 }, | |
| 105 { | |
| 106 "iconUrl": "/images/fruit2-80x80.jpg", | |
| 107 "title": "Notification #$#: Oranges!", | |
| 108 "message": "Citrus sinensis" | |
| 109 }, | |
| 110 { | |
| 111 "iconUrl": "/images/fruit3-80x80.jpg", | |
| 112 "title": "Notification #$#: Strawberries!", | |
| 113 "message": "Fragaria ananassa" | |
| 114 }, | |
| 115 { | |
| 116 "iconUrl": "/images/fruit4-80x80.jpg", | |
| 117 "title": "Notification #$#: Raspberries!", | |
| 118 "message": "Rubus idaeus" | |
| 119 }, | |
| 120 { | |
| 121 "iconUrl": "/images/fruit5-80x80.jpg", | |
| 122 "title": "Notification #$#: Blueberries!", | |
| 123 "message": "Vaccinium cyanococcus" | |
| 124 } | |
| 125 ] | |
| 126 }, | |
| 127 { | |
| 128 "sectionName": "Image Notifications", | |
| 129 "notificationType": "image", | |
| 130 "notificationOptions": [ | |
| 131 { | |
| 132 "iconUrl": "/images/woman3-80x80.jpg", | |
| 133 "title": "Maricia Rilari", | |
| 134 "message": "Pictures from Tahoe", | |
| 135 "imageUrl": "/images/tahoe-300x225.jpg" | |
| 136 }, | |
| 137 { | |
| 138 "iconUrl": "/images/flower1-80x80.jpg", | |
| 139 "title": "Notification #$#: Daffodils!", | |
| 140 "message": "Narcissus", | |
| 141 "imageUrl": "/images/image1-300x225.jpg", | |
| 142 "buttons": [ | |
| 143 {"title": "Lorem Ipsum Dolor Sit Amet Consectetur Adipisicing"}, | |
| 144 {"title": "Elit Sed Do"} | |
| 145 ] | |
| 146 }, | |
| 147 { | |
| 148 "iconUrl": "/images/flower2-80x80.jpg", | |
| 149 "title": "Notification #$#: Sunflowers!", | |
| 150 "message": "Helianthus annuus", | |
| 151 "imageUrl": "/images/image2-300x225.jpg" | |
| 152 }, | |
| 153 { | |
| 154 "iconUrl": "/images/flower3-80x80.jpg", | |
| 155 "title": "Notification #$#: Poinsettias!", | |
| 156 "message": "Euphorbia pulcherrima", | |
| 157 "imageUrl": "/images/image3-300x172.jpg" | |
| 158 }, | |
| 159 { | |
| 160 "iconUrl": "/images/flower4-80x80.jpg", | |
| 161 "title": "Notification #$#: Heather!", | |
| 162 "message": "Calluna vulgaris", | |
| 163 "imageUrl": "/images/image4-200x300.jpg" | |
| 164 } | |
| 165 ] | |
| 166 }, | |
| 167 { | |
| 168 "sectionName": "List Notifications", | |
| 169 "notificationType": "list", | |
| 170 "notificationOptions": [ | |
| 171 { | |
| 172 "iconUrl": "/images/inbox-00-80x80.png", | |
| 173 "title": "15 new messages", | |
| 174 "message": "ramon.widdel@example.com", | |
| 175 "items": [ | |
| 176 {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, | |
| 177 {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, | |
| 178 {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, | |
| 179 {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, | |
| 180 {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"} | |
| 181 ], | |
| 182 "buttons": [ | |
| 183 {"title": "Send Message", "iconUrl": "/images/send-16x16.png"} | |
| 184 ] | |
| 185 }, | |
| 186 { | |
| 187 "iconUrl": "/images/inbox-01-80x80.png", | |
| 188 "title": "1 new messages", | |
| 189 "message": "ramon.widdel@example.com", | |
| 190 "items": [ | |
| 191 {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"} | |
| 192 ] | |
| 193 }, | |
| 194 { | |
| 195 "iconUrl": "/images/inbox-02-80x80.png", | |
| 196 "title": "2 new messages", | |
| 197 "message": "ramon.widdel@example.com", | |
| 198 "items": [ | |
| 199 {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, | |
| 200 {"title": "Kathrine Doiss", "message": "Consectetur adipisicing elit"} | |
| 201 ] | |
| 202 }, | |
| 203 { | |
| 204 "iconUrl": "/images/inbox-03-80x80.png", | |
| 205 "title": "3 new messages", | |
| 206 "message": "ramon.widdel@example.com", | |
| 207 "items": [ | |
| 208 {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, | |
| 209 {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, | |
| 210 {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incididu"} | |
| 211 ] | |
| 212 }, | |
| 213 { | |
| 214 "iconUrl": "/images/inbox-05-80x80.png", | |
| 215 "title": "5 new messages", | |
| 216 "message": "ramon.widdel@example.com", | |
| 217 "items": [ | |
| 218 {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, | |
| 219 {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, | |
| 220 {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, | |
| 221 {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, | |
| 222 {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"} | |
| 223 ] | |
| 224 }, | |
| 225 { | |
| 226 "iconUrl": "/images/inbox-08-80x80.png", | |
| 227 "title": "8 new messages", | |
| 228 "message": "ramon.widdel@example.com", | |
| 229 "items": [ | |
| 230 {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, | |
| 231 {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, | |
| 232 {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, | |
| 233 {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, | |
| 234 {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"}, | |
| 235 {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, | |
| 236 {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, | |
| 237 {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incididu"} | |
| 238 ] | |
| 239 }, | |
| 240 { | |
| 241 "iconUrl": "/images/inbox-13-80x80.png", | |
| 242 "title": "13 new messages", | |
| 243 "message": "ramon.widdel@example.com", | |
| 244 "items": [ | |
| 245 {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, | |
| 246 {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, | |
| 247 {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, | |
| 248 {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, | |
| 249 {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"}, | |
| 250 {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, | |
| 251 {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, | |
| 252 {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, | |
| 253 {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, | |
| 254 {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"}, | |
| 255 {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, | |
| 256 {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, | |
| 257 {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incididu"} | |
| 258 ] | |
| 259 }, | |
| 260 { | |
| 261 "iconUrl": "/images/plant1-80x80.jpg", | |
| 262 "title": "Notification #$#: Yucca!", | |
| 263 "message": "Asparagaceae agavoideae", | |
| 264 "items": [ | |
| 265 {"title": "One", "message": "Unus"}, | |
| 266 {"title": "Two", "message": "Duo"}, | |
| 267 {"title": "Three", "message": "Tres"} | |
| 268 ] | |
| 269 }, | |
| 270 { | |
| 271 "iconUrl": "/images/plant2-80x80.jpg", | |
| 272 "title": "Notification #$#: Basil!", | |
| 273 "message": "Ocimum basilicum", | |
| 274 "items": [ | |
| 275 {"title": "One", "message": "Unus"}, | |
| 276 {"title": "Two", "message": "Duo"}, | |
| 277 {"title": "Three", "message": "Tres"} | |
| 278 ] | |
| 279 } | |
| 280 ] | |
| 281 } | |
| 282 ] | |
| OLD | NEW |