OLD | NEW |
---|---|
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 [nodoc] namespace experimental.notification { | 5 namespace experimental.notification { |
miket_OOO
2013/03/04 22:06:56
See https://codereview.chromium.org/12313115/. Dro
mkearney1
2013/03/06 00:03:40
Holding off on this until official move out of exp
| |
6 enum TemplateType { | 6 enum TemplateType { |
7 // icon, title, message | 7 // icon, title, message |
8 simple, | 8 simple, |
9 | 9 |
10 // icon, title, message, expandedMessage, up to two buttons | 10 // icon, title, message, expandedMessage, up to two buttons |
11 basic, | 11 basic, |
12 | 12 |
13 // icon, title, message, expandedMessage, image, up to two buttons | 13 // icon, title, message, expandedMessage, image, up to two buttons |
14 image, | 14 image, |
15 | 15 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
107 static void onClosed(DOMString notificationId, boolean byUser); | 107 static void onClosed(DOMString notificationId, boolean byUser); |
108 | 108 |
109 // The user clicked in a non-button area of the notification. | 109 // The user clicked in a non-button area of the notification. |
110 static void onClicked(DOMString notificationId); | 110 static void onClicked(DOMString notificationId); |
111 | 111 |
112 // The user pressed a button in the notification. | 112 // The user pressed a button in the notification. |
113 static void onButtonClicked(DOMString notificationId, long buttonIndex); | 113 static void onButtonClicked(DOMString notificationId, long buttonIndex); |
114 }; | 114 }; |
115 | 115 |
116 }; | 116 }; |
OLD | NEW |