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

Side by Side Diff: chrome/test/data/extensions/api_test/notifications/galore/app/model.js

Issue 12313115: Take notification API out of experimental. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflict. Created 7 years, 9 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var Galore = Galore || {}; 5 var Galore = Galore || {};
6 6
7 Galore.NOTIFICATIONS = [ 7 Galore.NOTIFICATIONS = [
8 { 8 {
9 name: 'Simple Notifications', 9 name: 'Simple Notifications',
10 templateType: 'simple', 10 templateType: 'simple',
(...skipping 22 matching lines...) Expand all
33 }, 33 },
34 { 34 {
35 name: 'Basic Notifications', 35 name: 'Basic Notifications',
36 templateType: 'basic', 36 templateType: 'basic',
37 notifications: [ 37 notifications: [
38 { 38 {
39 iconUrl: '$@/images/man1-$%x$%.jpg', 39 iconUrl: '$@/images/man1-$%x$%.jpg',
40 title: 'Althe Frazon', 40 title: 'Althe Frazon',
41 message: 'Lorem ipsum', 41 message: 'Lorem ipsum',
42 buttons: [ 42 buttons: [
43 {title: 'Call', iconUrl: '$@/images/call-16x16.jpg'}, 43 {title: 'Call', iconUrl: '$@/images/call-16x16.png'},
44 {title: 'Send Email', iconUrl: '$@/images/send-16x16.jpg'}, 44 {title: 'Send Email', iconUrl: '$@/images/send-16x16.png'},
45 ] 45 ]
46 }, 46 },
47 { 47 {
48 iconUrl: '$@/images/woman1-$%x$%.jpg', 48 iconUrl: '$@/images/woman1-$%x$%.jpg',
49 title: 'Kathrine Doiss', 49 title: 'Kathrine Doiss',
50 message: 'Dolor sit amet' 50 message: 'Dolor sit amet'
51 }, 51 },
52 { 52 {
53 iconUrl: '$@/images/woman2-$%x$%.jpg', 53 iconUrl: '$@/images/woman2-$%x$%.jpg',
54 title: 'Jamie Haynig', 54 title: 'Jamie Haynig',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 { 98 {
99 iconUrl: '$@/images/woman3-$%x$%.jpg', 99 iconUrl: '$@/images/woman3-$%x$%.jpg',
100 title: 'Maricia Rilari', 100 title: 'Maricia Rilari',
101 message: 'Pictures from Tahoe', 101 message: 'Pictures from Tahoe',
102 imageUrl: '$@/images/tahoe-300x225.jpg' 102 imageUrl: '$@/images/tahoe-300x225.jpg'
103 }, 103 },
104 { 104 {
105 iconUrl: '$@/images/flower1-$%x$%.jpg', 105 iconUrl: '$@/images/flower1-$%x$%.jpg',
106 title: 'Notification #$#: Daffodils!', 106 title: 'Notification #$#: Daffodils!',
107 message: 'Narcissus', 107 message: 'Narcissus',
108 imageUrl: '$@/images/image1-300x225.jpg', 108 imageUrl: '$@/images/Image1-300x225.jpg'
109 buttons: [
110 {title: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipisicing'},
111 {title: 'Elit Sed Do'},
112 ]
113 }, 109 },
114 { 110 {
115 iconUrl: '$@/images/flower2-$%x$%.jpg', 111 iconUrl: '$@/images/flower2-$%x$%.jpg',
116 title: 'Notification #$#: Sunflowers!', 112 title: 'Notification #$#: Sunflowers!',
117 message: 'Helianthus annuus', 113 message: 'Helianthus annuus',
118 imageUrl: '$@/images/image2-300x225.jpg' 114 imageUrl: '$@/images/Image2-300x225.jpg'
119 }, 115 },
120 { 116 {
121 iconUrl: '$@/images/flower3-$%x$%.jpg', 117 iconUrl: '$@/images/flower3-$%x$%.jpg',
122 title: 'Notification #$#: Poinsettias!', 118 title: 'Notification #$#: Poinsettias!',
123 message: 'Euphorbia pulcherrima', 119 message: 'Euphorbia pulcherrima',
124 imageUrl: '$@/images/image3-300x172.jpg' 120 imageUrl: '$@/images/Image3-300x172.jpg'
125 }, 121 },
126 { 122 {
127 iconUrl: '$@/images/flower4-$%x$%.jpg', 123 iconUrl: '$@/images/flower4-$%x$%.jpg',
128 title: 'Notification #$#: Heather!', 124 title: 'Notification #$#: Heather!',
129 message: 'Calluna vulgaris', 125 message: 'Calluna vulgaris',
130 imageUrl: '$@/images/image4-200x300.jpg' 126 imageUrl: '$@/images/Image4-200x300.jpg'
131 } 127 }
132 ] 128 ]
133 }, 129 },
134 { 130 {
135 name: 'List Notifications', 131 name: 'List Notifications',
136 templateType: 'list', 132 templateType: 'list',
137 notifications: [ 133 notifications: [
138 { 134 {
139 iconUrl: '$@/images/inbox-00-$%x$%.png', 135 iconUrl: '$@/images/inbox-00-$%x$%.png',
140 title: '15 new messages', 136 title: '15 new messages',
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 message: 'Ocimum basilicum', 246 message: 'Ocimum basilicum',
251 items: [ 247 items: [
252 {title: 'One', message: 'Unus'}, 248 {title: 'One', message: 'Unus'},
253 {title: 'Two', message: 'Duo'}, 249 {title: 'Two', message: 'Duo'},
254 {title: 'Three', message: 'Tres'} 250 {title: 'Three', message: 'Tres'}
255 ] 251 ]
256 } 252 }
257 ] 253 ]
258 } 254 }
259 ]; 255 ];
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698