| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 #include "FocusController.h" | 62 #include "FocusController.h" |
| 63 #include "Frame.h" | 63 #include "Frame.h" |
| 64 #include "FrameLoadRequest.h" | 64 #include "FrameLoadRequest.h" |
| 65 #include "FrameLoader.h" | 65 #include "FrameLoader.h" |
| 66 #include "FrameLoaderClient.h" | 66 #include "FrameLoaderClient.h" |
| 67 #include "FrameTree.h" | 67 #include "FrameTree.h" |
| 68 #include "FrameView.h" | 68 #include "FrameView.h" |
| 69 #include "HTMLFrameOwnerElement.h" | 69 #include "HTMLFrameOwnerElement.h" |
| 70 #include "History.h" | 70 #include "History.h" |
| 71 #include "InspectorInstrumentation.h" | 71 #include "InspectorInstrumentation.h" |
| 72 #include "KURL.h" | |
| 73 #include "Location.h" | 72 #include "Location.h" |
| 74 #include "MediaQueryList.h" | 73 #include "MediaQueryList.h" |
| 75 #include "MediaQueryMatcher.h" | 74 #include "MediaQueryMatcher.h" |
| 76 #include "MessageEvent.h" | 75 #include "MessageEvent.h" |
| 77 #include "Navigator.h" | 76 #include "Navigator.h" |
| 78 #include "Page.h" | 77 #include "Page.h" |
| 79 #include "PageConsole.h" | 78 #include "PageConsole.h" |
| 80 #include "PageGroup.h" | 79 #include "PageGroup.h" |
| 81 #include "PageTransitionEvent.h" | 80 #include "PageTransitionEvent.h" |
| 82 #include "Performance.h" | 81 #include "Performance.h" |
| 83 #include "PlatformScreen.h" | |
| 84 #include "RequestAnimationFrameCallback.h" | 82 #include "RequestAnimationFrameCallback.h" |
| 85 #include "RuntimeEnabledFeatures.h" | 83 #include "RuntimeEnabledFeatures.h" |
| 86 #include "ScheduledAction.h" | 84 #include "ScheduledAction.h" |
| 87 #include "Screen.h" | 85 #include "Screen.h" |
| 88 #include "ScriptCallStack.h" | 86 #include "ScriptCallStack.h" |
| 89 #include "ScriptCallStackFactory.h" | 87 #include "ScriptCallStackFactory.h" |
| 90 #include "ScriptController.h" | 88 #include "ScriptController.h" |
| 91 #include "SecurityOrigin.h" | 89 #include "SecurityOrigin.h" |
| 92 #include "SecurityPolicy.h" | 90 #include "SecurityPolicy.h" |
| 93 #include "SerializedScriptValue.h" | 91 #include "SerializedScriptValue.h" |
| 94 #include "Settings.h" | 92 #include "Settings.h" |
| 95 #include "StyleMedia.h" | 93 #include "StyleMedia.h" |
| 96 #include "StyleResolver.h" | 94 #include "StyleResolver.h" |
| 97 #include "SuddenTermination.h" | |
| 98 #include "WindowFeatures.h" | 95 #include "WindowFeatures.h" |
| 99 #include "WindowFocusAllowedIndicator.h" | 96 #include "WindowFocusAllowedIndicator.h" |
| 97 #include "core/platform/KURL.h" |
| 98 #include "core/platform/PlatformScreen.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> |
| 107 #include <wtf/text/Base64.h> | 107 #include <wtf/text/Base64.h> |
| 108 #include <wtf/text/WTFString.h> | 108 #include <wtf/text/WTFString.h> |
| 109 | 109 |
| (...skipping 1775 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 |