| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 | 241 |
| 242 // WebKit animation extensions | 242 // WebKit animation extensions |
| 243 int requestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback>); | 243 int requestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback>); |
| 244 int webkitRequestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback
>); | 244 int webkitRequestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback
>); |
| 245 void cancelAnimationFrame(int id); | 245 void cancelAnimationFrame(int id); |
| 246 | 246 |
| 247 DOMWindowCSS& css() const; | 247 DOMWindowCSS& css() const; |
| 248 | 248 |
| 249 // Events | 249 // Events |
| 250 // EventTarget API | 250 // EventTarget API |
| 251 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<
EventListener>, bool useCapture) OVERRIDE; | 251 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<
EventListener>, bool useCapture = false) OVERRIDE; |
| 252 virtual bool removeEventListener(const AtomicString& eventType, EventLis
tener*, bool useCapture) OVERRIDE; | 252 virtual bool removeEventListener(const AtomicString& eventType, EventLis
tener*, bool useCapture = false) OVERRIDE; |
| 253 virtual void removeAllEventListeners() OVERRIDE; | 253 virtual void removeAllEventListeners() OVERRIDE; |
| 254 | 254 |
| 255 using EventTarget::dispatchEvent; | 255 using EventTarget::dispatchEvent; |
| 256 bool dispatchEvent(PassRefPtr<Event> prpEvent, PassRefPtr<EventTarget> p
rpTarget); | 256 bool dispatchEvent(PassRefPtr<Event> prpEvent, PassRefPtr<EventTarget> p
rpTarget); |
| 257 | 257 |
| 258 void dispatchLoadEvent(); | 258 void dispatchLoadEvent(); |
| 259 | 259 |
| 260 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationend); | 260 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationend); |
| 261 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationiteration); | 261 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationiteration); |
| 262 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationstart); | 262 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationstart); |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 } | 377 } |
| 378 | 378 |
| 379 inline String DOMWindow::defaultStatus() const | 379 inline String DOMWindow::defaultStatus() const |
| 380 { | 380 { |
| 381 return m_defaultStatus; | 381 return m_defaultStatus; |
| 382 } | 382 } |
| 383 | 383 |
| 384 } // namespace WebCore | 384 } // namespace WebCore |
| 385 | 385 |
| 386 #endif // DOMWindow_h | 386 #endif // DOMWindow_h |
| OLD | NEW |