| 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, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011, 2012 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 28 matching lines...) Expand all Loading... |
| 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(D
OMException); | 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(DOMException); | 42 [V8Custom] Notification createNotification(in DOMString iconUrl, in DOMSt
ring title, in DOMString body) raises(DOMException); |
| 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 |