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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 int setTimeout(PassOwnPtr<ScheduledAction>, int timeout, ExceptionCode&)
; | 256 int setTimeout(PassOwnPtr<ScheduledAction>, int timeout, ExceptionCode&)
; |
257 void clearTimeout(int timeoutId); | 257 void clearTimeout(int timeoutId); |
258 int setInterval(PassOwnPtr<ScheduledAction>, int timeout, ExceptionCode&
); | 258 int setInterval(PassOwnPtr<ScheduledAction>, int timeout, ExceptionCode&
); |
259 void clearInterval(int timeoutId); | 259 void clearInterval(int timeoutId); |
260 | 260 |
261 // WebKit animation extensions | 261 // WebKit animation extensions |
262 int requestAnimationFrame(PassRefPtr<RequestAnimationFrameCallback>); | 262 int requestAnimationFrame(PassRefPtr<RequestAnimationFrameCallback>); |
263 int webkitRequestAnimationFrame(PassRefPtr<RequestAnimationFrameCallback
>); | 263 int webkitRequestAnimationFrame(PassRefPtr<RequestAnimationFrameCallback
>); |
264 void cancelAnimationFrame(int id); | 264 void cancelAnimationFrame(int id); |
265 | 265 |
266 #if ENABLE(CSS3_CONDITIONAL_RULES) | |
267 DOMWindowCSS* css(); | 266 DOMWindowCSS* css(); |
268 #endif | |
269 | 267 |
270 // Events | 268 // Events |
271 // EventTarget API | 269 // EventTarget API |
272 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<
EventListener>, bool useCapture); | 270 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<
EventListener>, bool useCapture); |
273 virtual bool removeEventListener(const AtomicString& eventType, EventLis
tener*, bool useCapture); | 271 virtual bool removeEventListener(const AtomicString& eventType, EventLis
tener*, bool useCapture); |
274 virtual void removeAllEventListeners(); | 272 virtual void removeAllEventListeners(); |
275 | 273 |
276 using EventTarget::dispatchEvent; | 274 using EventTarget::dispatchEvent; |
277 bool dispatchEvent(PassRefPtr<Event> prpEvent, PassRefPtr<EventTarget> p
rpTarget); | 275 bool dispatchEvent(PassRefPtr<Event> prpEvent, PassRefPtr<EventTarget> p
rpTarget); |
278 | 276 |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 | 439 |
442 String m_status; | 440 String m_status; |
443 String m_defaultStatus; | 441 String m_defaultStatus; |
444 | 442 |
445 mutable RefPtr<Storage> m_sessionStorage; | 443 mutable RefPtr<Storage> m_sessionStorage; |
446 mutable RefPtr<Storage> m_localStorage; | 444 mutable RefPtr<Storage> m_localStorage; |
447 mutable RefPtr<DOMApplicationCache> m_applicationCache; | 445 mutable RefPtr<DOMApplicationCache> m_applicationCache; |
448 | 446 |
449 mutable RefPtr<Performance> m_performance; | 447 mutable RefPtr<Performance> m_performance; |
450 | 448 |
451 #if ENABLE(CSS3_CONDITIONAL_RULES) | |
452 mutable RefPtr<DOMWindowCSS> m_css; | 449 mutable RefPtr<DOMWindowCSS> m_css; |
453 #endif | |
454 }; | 450 }; |
455 | 451 |
456 inline String DOMWindow::status() const | 452 inline String DOMWindow::status() const |
457 { | 453 { |
458 return m_status; | 454 return m_status; |
459 } | 455 } |
460 | 456 |
461 inline String DOMWindow::defaultStatus() const | 457 inline String DOMWindow::defaultStatus() const |
462 { | 458 { |
463 return m_defaultStatus; | 459 return m_defaultStatus; |
464 } | 460 } |
465 | 461 |
466 } // namespace WebCore | 462 } // namespace WebCore |
467 | 463 |
468 #endif // DOMWindow_h | 464 #endif // DOMWindow_h |
OLD | NEW |