| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 reset(); | 403 reset(); |
| 404 | 404 |
| 405 removeAllEventListeners(); | 405 removeAllEventListeners(); |
| 406 | 406 |
| 407 ASSERT(!m_document->confusingAndOftenMisusedAttached()); | 407 ASSERT(!m_document->confusingAndOftenMisusedAttached()); |
| 408 setDocument(0); | 408 setDocument(0); |
| 409 } | 409 } |
| 410 | 410 |
| 411 const AtomicString& DOMWindow::interfaceName() const | 411 const AtomicString& DOMWindow::interfaceName() const |
| 412 { | 412 { |
| 413 return eventNames().interfaceForDOMWindow; | 413 return EventTargetNames::DOMWindow; |
| 414 } | 414 } |
| 415 | 415 |
| 416 ExecutionContext* DOMWindow::executionContext() const | 416 ExecutionContext* DOMWindow::executionContext() const |
| 417 { | 417 { |
| 418 return m_document.get(); | 418 return m_document.get(); |
| 419 } | 419 } |
| 420 | 420 |
| 421 DOMWindow* DOMWindow::toDOMWindow() | 421 DOMWindow* DOMWindow::toDOMWindow() |
| 422 { | 422 { |
| 423 return this; | 423 return this; |
| (...skipping 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1766 return static_cast<DOMWindowLifecycleNotifier*>(LifecycleContext::lifecycleN
otifier()); | 1766 return static_cast<DOMWindowLifecycleNotifier*>(LifecycleContext::lifecycleN
otifier()); |
| 1767 } | 1767 } |
| 1768 | 1768 |
| 1769 PassOwnPtr<LifecycleNotifier> DOMWindow::createLifecycleNotifier() | 1769 PassOwnPtr<LifecycleNotifier> DOMWindow::createLifecycleNotifier() |
| 1770 { | 1770 { |
| 1771 return DOMWindowLifecycleNotifier::create(this); | 1771 return DOMWindowLifecycleNotifier::create(this); |
| 1772 } | 1772 } |
| 1773 | 1773 |
| 1774 | 1774 |
| 1775 } // namespace WebCore | 1775 } // namespace WebCore |
| OLD | NEW |