| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 #endif | 57 #endif |
| 58 | 58 |
| 59 attribute EventListener onshow; | 59 attribute EventListener onshow; |
| 60 #if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS | 60 #if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS |
| 61 attribute EventListener ondisplay; | 61 attribute EventListener ondisplay; |
| 62 #endif | 62 #endif |
| 63 attribute EventListener onerror; | 63 attribute EventListener onerror; |
| 64 attribute EventListener onclose; | 64 attribute EventListener onclose; |
| 65 attribute EventListener onclick; | 65 attribute EventListener onclick; |
| 66 | 66 |
| 67 #if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS |
| 67 attribute DOMString dir; | 68 attribute DOMString dir; |
| 68 #if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS | |
| 69 attribute DOMString replaceId; | 69 attribute DOMString replaceId; |
| 70 #endif | 70 #endif |
| 71 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS | 71 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS |
| 72 attribute DOMString tag; | 72 attribute DOMString tag; |
| 73 #endif | 73 #endif |
| 74 | 74 |
| 75 // EventTarget interface | 75 // EventTarget interface |
| 76 void addEventListener(in DOMString type, | 76 void addEventListener(in DOMString type, |
| 77 in EventListener listener, | 77 in EventListener listener, |
| 78 in [Optional] boolean useCapture); | 78 in [Optional] boolean useCapture); |
| 79 void removeEventListener(in DOMString type, | 79 void removeEventListener(in DOMString type, |
| 80 in EventListener listener, | 80 in EventListener listener, |
| 81 in [Optional] boolean useCapture); | 81 in [Optional] boolean useCapture); |
| 82 boolean dispatchEvent(in Event evt) | 82 boolean dispatchEvent(in Event evt) |
| 83 raises(EventException); | 83 raises(EventException); |
| 84 }; | 84 }; |
| 85 | 85 |
| 86 } | 86 } |
| OLD | NEW |