| 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 19 matching lines...) Expand all Loading... |
| 30 #include <algorithm> | 30 #include <algorithm> |
| 31 #include "BackForwardController.h" | 31 #include "BackForwardController.h" |
| 32 #include "BarInfo.h" | 32 #include "BarInfo.h" |
| 33 #include "BeforeUnloadEvent.h" | 33 #include "BeforeUnloadEvent.h" |
| 34 #include "CSSComputedStyleDeclaration.h" | 34 #include "CSSComputedStyleDeclaration.h" |
| 35 #include "CSSRuleList.h" | 35 #include "CSSRuleList.h" |
| 36 #include "Chrome.h" | 36 #include "Chrome.h" |
| 37 #include "ChromeClient.h" | 37 #include "ChromeClient.h" |
| 38 #include "Console.h" | 38 #include "Console.h" |
| 39 #include "Crypto.h" | 39 #include "Crypto.h" |
| 40 #include "DOMApplicationCache.h" | |
| 41 #include "DOMPoint.h" | 40 #include "DOMPoint.h" |
| 42 #include "DOMSelection.h" | 41 #include "DOMSelection.h" |
| 43 #include "DOMSettableTokenList.h" | 42 #include "DOMSettableTokenList.h" |
| 44 #include "DOMStringList.h" | 43 #include "DOMStringList.h" |
| 45 #include "DOMTimer.h" | 44 #include "DOMTimer.h" |
| 46 #include "DOMTokenList.h" | 45 #include "DOMTokenList.h" |
| 47 #include "DOMURL.h" | 46 #include "DOMURL.h" |
| 48 #include "DOMWindowCSS.h" | 47 #include "DOMWindowCSS.h" |
| 49 #include "DOMWindowNotifications.h" | 48 #include "DOMWindowNotifications.h" |
| 50 #include "DeviceMotionController.h" | 49 #include "DeviceMotionController.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 #include "SerializedScriptValue.h" | 86 #include "SerializedScriptValue.h" |
| 88 #include "Settings.h" | 87 #include "Settings.h" |
| 89 #include "StyleMedia.h" | 88 #include "StyleMedia.h" |
| 90 #include "StyleResolver.h" | 89 #include "StyleResolver.h" |
| 91 #include "WindowFeatures.h" | 90 #include "WindowFeatures.h" |
| 92 #include "WindowFocusAllowedIndicator.h" | 91 #include "WindowFocusAllowedIndicator.h" |
| 93 #include "core/loader/DocumentLoader.h" | 92 #include "core/loader/DocumentLoader.h" |
| 94 #include "core/loader/FrameLoadRequest.h" | 93 #include "core/loader/FrameLoadRequest.h" |
| 95 #include "core/loader/FrameLoader.h" | 94 #include "core/loader/FrameLoader.h" |
| 96 #include "core/loader/FrameLoaderClient.h" | 95 #include "core/loader/FrameLoaderClient.h" |
| 96 #include "core/loader/appcache/DOMApplicationCache.h" |
| 97 #include "core/platform/KURL.h" | 97 #include "core/platform/KURL.h" |
| 98 #include "core/platform/PlatformScreen.h" | 98 #include "core/platform/PlatformScreen.h" |
| 99 #include "core/platform/SuddenTermination.h" | 99 #include "core/platform/SuddenTermination.h" |
| 100 #include "core/platform/graphics/FloatRect.h" | 100 #include "core/platform/graphics/FloatRect.h" |
| 101 #include "core/storage/Storage.h" | 101 #include "core/storage/Storage.h" |
| 102 #include "core/storage/StorageArea.h" | 102 #include "core/storage/StorageArea.h" |
| 103 #include "core/storage/StorageNamespace.h" | 103 #include "core/storage/StorageNamespace.h" |
| 104 #include <wtf/CurrentTime.h> | 104 #include <wtf/CurrentTime.h> |
| 105 #include <wtf/MainThread.h> | 105 #include <wtf/MainThread.h> |
| 106 #include <wtf/MathExtras.h> | 106 #include <wtf/MathExtras.h> |
| (...skipping 1778 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 |