Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 30 */ | 30 */ |
| 31 | 31 |
| 32 module threads { | 32 module threads { |
| 33 | 33 |
| 34 interface [ | 34 interface [ |
| 35 Conditional=NOTIFICATIONS, | 35 Conditional=NOTIFICATIONS, |
| 36 ActiveDOMObject, | 36 ActiveDOMObject, |
| 37 OmitConstructor | 37 OmitConstructor |
| 38 ] NotificationCenter { | 38 ] NotificationCenter { |
| 39 #if !defined(ENABLE_TEXT_NOTIFICATIONS_ONLY) || !ENABLE_TEXT_NOTIFICATIONS_ONLY | 39 #if !defined(ENABLE_TEXT_NOTIFICATIONS_ONLY) || !ENABLE_TEXT_NOTIFICATIONS_ONLY |
| 40 [V8Custom] Notification createHTMLNotification(in DOMString url) raises(E xception); | 40 [V8Custom] Notification createHTMLNotification(in DOMString url) raises(D OMException); |
| 41 #endif | 41 #endif |
| 42 [V8Custom] Notification createNotification(in DOMString iconUrl, in DOMSt ring title, in DOMString body) raises(Exception); | 42 [V8Custom] Notification createNotification(in DOMString iconUrl, in DOMSt ring title, in DOMString body) raises(DOMException); |
|
antonm
2012/02/13 19:20:04
are not we aiming for 0 changes to idls?
| |
| 43 | 43 |
| 44 int checkPermission(); | 44 int checkPermission(); |
| 45 [Custom] void requestPermission(in VoidCallback callback); | 45 [Custom] void requestPermission(in VoidCallback callback); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } | 48 } |
| OLD | NEW |