| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. |
| 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> | 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
| 6 * Copyright (C) Research In Motion Limited 2009. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2009. All rights reserved. |
| 7 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com> | 7 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com> |
| 8 * Copyright (C) 2011 Google Inc. All rights reserved. | 8 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 9 * | 9 * |
| 10 * Redistribution and use in source and binary forms, with or without | 10 * Redistribution and use in source and binary forms, with or without |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 33 */ | 33 */ |
| 34 | 34 |
| 35 #include "config.h" | 35 #include "config.h" |
| 36 #include "FrameLoader.h" | 36 #include "FrameLoader.h" |
| 37 | 37 |
| 38 #include "AXObjectCache.h" | |
| 39 #include "ApplicationCacheHost.h" | 38 #include "ApplicationCacheHost.h" |
| 40 #include "BackForwardController.h" | 39 #include "BackForwardController.h" |
| 41 #include "BeforeUnloadEvent.h" | 40 #include "BeforeUnloadEvent.h" |
| 42 #include "CachedResourceLoader.h" | 41 #include "CachedResourceLoader.h" |
| 43 #include "Chrome.h" | 42 #include "Chrome.h" |
| 44 #include "ChromeClient.h" | 43 #include "ChromeClient.h" |
| 45 #include "Console.h" | 44 #include "Console.h" |
| 46 #include "ContentSecurityPolicy.h" | 45 #include "ContentSecurityPolicy.h" |
| 47 #include "DOMImplementation.h" | 46 #include "DOMImplementation.h" |
| 48 #include "DOMWindow.h" | 47 #include "DOMWindow.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 #include "ScrollAnimator.h" | 93 #include "ScrollAnimator.h" |
| 95 #include "SecurityOrigin.h" | 94 #include "SecurityOrigin.h" |
| 96 #include "SecurityPolicy.h" | 95 #include "SecurityPolicy.h" |
| 97 #include "SegmentedString.h" | 96 #include "SegmentedString.h" |
| 98 #include "SerializedScriptValue.h" | 97 #include "SerializedScriptValue.h" |
| 99 #include "Settings.h" | 98 #include "Settings.h" |
| 100 #include "TextResourceDecoder.h" | 99 #include "TextResourceDecoder.h" |
| 101 #include "WebCoreMemoryInstrumentation.h" | 100 #include "WebCoreMemoryInstrumentation.h" |
| 102 #include "WindowFeatures.h" | 101 #include "WindowFeatures.h" |
| 103 #include "XMLDocumentParser.h" | 102 #include "XMLDocumentParser.h" |
| 103 #include "core/accessibility/AXObjectCache.h" |
| 104 #include "core/loader/UniqueIdentifier.h" | 104 #include "core/loader/UniqueIdentifier.h" |
| 105 #include <wtf/CurrentTime.h> | 105 #include <wtf/CurrentTime.h> |
| 106 #include <wtf/MemoryInstrumentationHashSet.h> | 106 #include <wtf/MemoryInstrumentationHashSet.h> |
| 107 #include <wtf/StdLibExtras.h> | 107 #include <wtf/StdLibExtras.h> |
| 108 #include <wtf/text/CString.h> | 108 #include <wtf/text/CString.h> |
| 109 #include <wtf/text/WTFString.h> | 109 #include <wtf/text/WTFString.h> |
| 110 | 110 |
| 111 #if ENABLE(SHARED_WORKERS) | 111 #if ENABLE(SHARED_WORKERS) |
| 112 #include "SharedWorkerRepository.h" | 112 #include "SharedWorkerRepository.h" |
| 113 #endif | 113 #endif |
| (...skipping 2932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3046 FloatRect newWindowRect = DOMWindow::adjustWindowRect(page, windowRect); | 3046 FloatRect newWindowRect = DOMWindow::adjustWindowRect(page, windowRect); |
| 3047 | 3047 |
| 3048 page->chrome()->setWindowRect(newWindowRect); | 3048 page->chrome()->setWindowRect(newWindowRect); |
| 3049 page->chrome()->show(); | 3049 page->chrome()->show(); |
| 3050 | 3050 |
| 3051 created = true; | 3051 created = true; |
| 3052 return frame; | 3052 return frame; |
| 3053 } | 3053 } |
| 3054 | 3054 |
| 3055 } // namespace WebCore | 3055 } // namespace WebCore |
| OLD | NEW |