| 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 10 matching lines...) Expand all Loading... |
| 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #include "config.h" | 27 #include "config.h" |
| 28 #include "core/page/DOMWindow.h" | 28 #include "core/page/DOMWindow.h" |
| 29 | 29 |
| 30 #include <algorithm> | 30 #include <algorithm> |
| 31 #include "DOMSettableTokenList.h" | |
| 32 #include "DOMTokenList.h" | |
| 33 #include "DOMURL.h" | |
| 34 #include "HTMLFrameOwnerElement.h" | |
| 35 #include "bindings/v8/ScheduledAction.h" | 31 #include "bindings/v8/ScheduledAction.h" |
| 36 #include "bindings/v8/ScriptCallStackFactory.h" | 32 #include "bindings/v8/ScriptCallStackFactory.h" |
| 37 #include "bindings/v8/ScriptController.h" | 33 #include "bindings/v8/ScriptController.h" |
| 38 #include "bindings/v8/SerializedScriptValue.h" | 34 #include "bindings/v8/SerializedScriptValue.h" |
| 39 #include "core/css/CSSComputedStyleDeclaration.h" | 35 #include "core/css/CSSComputedStyleDeclaration.h" |
| 40 #include "core/css/CSSRuleList.h" | 36 #include "core/css/CSSRuleList.h" |
| 41 #include "core/css/DOMWindowCSS.h" | 37 #include "core/css/DOMWindowCSS.h" |
| 42 #include "core/css/MediaQueryList.h" | 38 #include "core/css/MediaQueryList.h" |
| 43 #include "core/css/MediaQueryMatcher.h" | 39 #include "core/css/MediaQueryMatcher.h" |
| 44 #include "core/css/StyleMedia.h" | 40 #include "core/css/StyleMedia.h" |
| 45 #include "core/css/StyleResolver.h" | 41 #include "core/css/StyleResolver.h" |
| 46 #include "core/dom/BeforeUnloadEvent.h" | 42 #include "core/dom/BeforeUnloadEvent.h" |
| 47 #include "core/dom/DOMStringList.h" | 43 #include "core/dom/DOMStringList.h" |
| 48 #include "core/dom/DeviceOrientationController.h" | 44 #include "core/dom/DeviceOrientationController.h" |
| 49 #include "core/dom/Document.h" | 45 #include "core/dom/Document.h" |
| 50 #include "core/dom/Element.h" | 46 #include "core/dom/Element.h" |
| 51 #include "core/dom/EventException.h" | 47 #include "core/dom/EventException.h" |
| 52 #include "core/dom/EventListener.h" | 48 #include "core/dom/EventListener.h" |
| 53 #include "core/dom/EventNames.h" | 49 #include "core/dom/EventNames.h" |
| 54 #include "core/dom/ExceptionCode.h" | 50 #include "core/dom/ExceptionCode.h" |
| 55 #include "core/dom/ExceptionCodePlaceholder.h" | 51 #include "core/dom/ExceptionCodePlaceholder.h" |
| 56 #include "core/dom/MessageEvent.h" | 52 #include "core/dom/MessageEvent.h" |
| 57 #include "core/dom/PageTransitionEvent.h" | 53 #include "core/dom/PageTransitionEvent.h" |
| 58 #include "core/dom/RequestAnimationFrameCallback.h" | 54 #include "core/dom/RequestAnimationFrameCallback.h" |
| 59 #include "core/editing/Editor.h" | 55 #include "core/editing/Editor.h" |
| 60 #include "core/history/BackForwardController.h" | 56 #include "core/history/BackForwardController.h" |
| 57 #include "core/html/DOMSettableTokenList.h" |
| 58 #include "core/html/DOMTokenList.h" |
| 59 #include "core/html/DOMURL.h" |
| 60 #include "core/html/HTMLFrameOwnerElement.h" |
| 61 #include "core/inspector/InspectorInstrumentation.h" | 61 #include "core/inspector/InspectorInstrumentation.h" |
| 62 #include "core/inspector/ScriptCallStack.h" | 62 #include "core/inspector/ScriptCallStack.h" |
| 63 #include "core/loader/DocumentLoader.h" | 63 #include "core/loader/DocumentLoader.h" |
| 64 #include "core/loader/FrameLoadRequest.h" | 64 #include "core/loader/FrameLoadRequest.h" |
| 65 #include "core/loader/FrameLoader.h" | 65 #include "core/loader/FrameLoader.h" |
| 66 #include "core/loader/FrameLoaderClient.h" | 66 #include "core/loader/FrameLoaderClient.h" |
| 67 #include "core/loader/appcache/DOMApplicationCache.h" | 67 #include "core/loader/appcache/DOMApplicationCache.h" |
| 68 #include "core/page/BarInfo.h" | 68 #include "core/page/BarInfo.h" |
| 69 #include "core/page/Chrome.h" | 69 #include "core/page/Chrome.h" |
| 70 #include "core/page/ChromeClient.h" | 70 #include "core/page/ChromeClient.h" |
| (...skipping 1814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1885 WindowFeatures windowFeatures(dialogFeaturesString, screenAvailableRect(m_fr
ame->view())); | 1885 WindowFeatures windowFeatures(dialogFeaturesString, screenAvailableRect(m_fr
ame->view())); |
| 1886 Frame* dialogFrame = createWindow(urlString, emptyAtom, windowFeatures, | 1886 Frame* dialogFrame = createWindow(urlString, emptyAtom, windowFeatures, |
| 1887 activeWindow, firstFrame, m_frame, function, functionContext); | 1887 activeWindow, firstFrame, m_frame, function, functionContext); |
| 1888 if (!dialogFrame) | 1888 if (!dialogFrame) |
| 1889 return; | 1889 return; |
| 1890 UserGestureIndicatorDisabler disabler; | 1890 UserGestureIndicatorDisabler disabler; |
| 1891 dialogFrame->page()->chrome()->runModal(); | 1891 dialogFrame->page()->chrome()->runModal(); |
| 1892 } | 1892 } |
| 1893 | 1893 |
| 1894 } // namespace WebCore | 1894 } // namespace WebCore |
| OLD | NEW |