| 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 1605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1616 controller->removeAllDeviceEventListeners(this); | 1616 controller->removeAllDeviceEventListeners(this); |
| 1617 if (DeviceOrientationController* controller = DeviceOrientationController::f
rom(page())) | 1617 if (DeviceOrientationController* controller = DeviceOrientationController::f
rom(page())) |
| 1618 controller->removeAllDeviceEventListeners(this); | 1618 controller->removeAllDeviceEventListeners(this); |
| 1619 if (Document* document = this->document()) | 1619 if (Document* document = this->document()) |
| 1620 document->didRemoveEventTargetNode(document); | 1620 document->didRemoveEventTargetNode(document); |
| 1621 | 1621 |
| 1622 removeAllUnloadEventListeners(this); | 1622 removeAllUnloadEventListeners(this); |
| 1623 removeAllBeforeUnloadEventListeners(this); | 1623 removeAllBeforeUnloadEventListeners(this); |
| 1624 } | 1624 } |
| 1625 | 1625 |
| 1626 void DOMWindow::captureEvents() | |
| 1627 { | |
| 1628 // Not implemented. | |
| 1629 } | |
| 1630 | |
| 1631 void DOMWindow::releaseEvents() | |
| 1632 { | |
| 1633 // Not implemented. | |
| 1634 } | |
| 1635 | |
| 1636 void DOMWindow::finishedLoading() | 1626 void DOMWindow::finishedLoading() |
| 1637 { | 1627 { |
| 1638 if (m_shouldPrintWhenFinishedLoading) { | 1628 if (m_shouldPrintWhenFinishedLoading) { |
| 1639 m_shouldPrintWhenFinishedLoading = false; | 1629 m_shouldPrintWhenFinishedLoading = false; |
| 1640 print(); | 1630 print(); |
| 1641 } | 1631 } |
| 1642 } | 1632 } |
| 1643 | 1633 |
| 1644 EventTargetData* DOMWindow::eventTargetData() | 1634 EventTargetData* DOMWindow::eventTargetData() |
| 1645 { | 1635 { |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1872 WindowFeatures windowFeatures(dialogFeaturesString, screenAvailableRect(m_fr
ame->view())); | 1862 WindowFeatures windowFeatures(dialogFeaturesString, screenAvailableRect(m_fr
ame->view())); |
| 1873 Frame* dialogFrame = createWindow(urlString, emptyAtom, windowFeatures, | 1863 Frame* dialogFrame = createWindow(urlString, emptyAtom, windowFeatures, |
| 1874 activeWindow, firstFrame, m_frame, function, functionContext); | 1864 activeWindow, firstFrame, m_frame, function, functionContext); |
| 1875 if (!dialogFrame) | 1865 if (!dialogFrame) |
| 1876 return; | 1866 return; |
| 1877 UserGestureIndicatorDisabler disabler; | 1867 UserGestureIndicatorDisabler disabler; |
| 1878 dialogFrame->page()->chrome()->runModal(); | 1868 dialogFrame->page()->chrome()->runModal(); |
| 1879 } | 1869 } |
| 1880 | 1870 |
| 1881 } // namespace WebCore | 1871 } // namespace WebCore |
| OLD | NEW |