| 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 14 matching lines...) Expand all Loading... |
| 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" | 31 #include "DOMSettableTokenList.h" |
| 32 #include "DOMTokenList.h" | 32 #include "DOMTokenList.h" |
| 33 #include "DOMURL.h" | 33 #include "DOMURL.h" |
| 34 #include "HTMLFrameOwnerElement.h" | 34 #include "HTMLFrameOwnerElement.h" |
| 35 #include "ScheduledAction.h" | 35 #include "bindings/v8/ScheduledAction.h" |
| 36 #include "ScriptCallStackFactory.h" | 36 #include "bindings/v8/ScriptCallStackFactory.h" |
| 37 #include "ScriptController.h" | 37 #include "bindings/v8/ScriptController.h" |
| 38 #include "SerializedScriptValue.h" | 38 #include "bindings/v8/SerializedScriptValue.h" |
| 39 #include "core/css/CSSComputedStyleDeclaration.h" | 39 #include "core/css/CSSComputedStyleDeclaration.h" |
| 40 #include "core/css/CSSRuleList.h" | 40 #include "core/css/CSSRuleList.h" |
| 41 #include "core/css/DOMWindowCSS.h" | 41 #include "core/css/DOMWindowCSS.h" |
| 42 #include "core/css/MediaQueryList.h" | 42 #include "core/css/MediaQueryList.h" |
| 43 #include "core/css/MediaQueryMatcher.h" | 43 #include "core/css/MediaQueryMatcher.h" |
| 44 #include "core/css/StyleMedia.h" | 44 #include "core/css/StyleMedia.h" |
| 45 #include "core/css/StyleResolver.h" | 45 #include "core/css/StyleResolver.h" |
| 46 #include "core/dom/BeforeUnloadEvent.h" | 46 #include "core/dom/BeforeUnloadEvent.h" |
| 47 #include "core/dom/DOMStringList.h" | 47 #include "core/dom/DOMStringList.h" |
| 48 #include "core/dom/DeviceOrientationController.h" | 48 #include "core/dom/DeviceOrientationController.h" |
| (...skipping 1836 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 |