| 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) 2009, 2011, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2009, 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 void dispatchCloseEvent(); | 116 void dispatchCloseEvent(); |
| 117 void dispatchErrorEvent(); | 117 void dispatchErrorEvent(); |
| 118 void dispatchShowEvent(); | 118 void dispatchShowEvent(); |
| 119 | 119 |
| 120 using RefCounted<Notification>::ref; | 120 using RefCounted<Notification>::ref; |
| 121 using RefCounted<Notification>::deref; | 121 using RefCounted<Notification>::deref; |
| 122 | 122 |
| 123 // EventTarget interface | 123 // EventTarget interface |
| 124 virtual const AtomicString& interfaceName() const; | 124 virtual const AtomicString& interfaceName() const; |
| 125 virtual ScriptExecutionContext* scriptExecutionContext() const { return Acti
veDOMObject::scriptExecutionContext(); } | 125 virtual ScriptExecutionContext* scriptExecutionContext() const { return Acti
veDOMObject::scriptExecutionContext(); } |
| 126 virtual bool dispatchEvent(PassRefPtr<Event>); |
| 126 | 127 |
| 127 // ActiveDOMObject interface | 128 // ActiveDOMObject interface |
| 128 virtual void contextDestroyed(); | 129 virtual void contextDestroyed(); |
| 129 | 130 |
| 130 void stopLoadingIcon(); | 131 void stopLoadingIcon(); |
| 131 | 132 |
| 132 // Deprecated. Use functions from NotificationCenter. | 133 // Deprecated. Use functions from NotificationCenter. |
| 133 void detachPresenter() { } | 134 void detachPresenter() { } |
| 134 | 135 |
| 135 void finalize(); | 136 void finalize(); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 #if ENABLE(NOTIFICATIONS) | 188 #if ENABLE(NOTIFICATIONS) |
| 188 OwnPtr<Timer<Notification> > m_taskTimer; | 189 OwnPtr<Timer<Notification> > m_taskTimer; |
| 189 #endif | 190 #endif |
| 190 }; | 191 }; |
| 191 | 192 |
| 192 } // namespace WebCore | 193 } // namespace WebCore |
| 193 | 194 |
| 194 #endif // ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) | 195 #endif // ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) |
| 195 | 196 |
| 196 #endif // Notifications_h | 197 #endif // Notifications_h |
| OLD | NEW |