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 "core/loader/FrameLoader.h" | 36 #include "core/loader/FrameLoader.h" |
37 | 37 |
38 #include "BeforeUnloadEvent.h" | |
39 #include "DOMImplementation.h" | |
40 #include "DOMWrapperWorld.h" | 38 #include "DOMWrapperWorld.h" |
41 #include "DatabaseManager.h" | 39 #include "DatabaseManager.h" |
42 #include "Document.h" | |
43 #include "Element.h" | |
44 #include "Event.h" | |
45 #include "EventNames.h" | |
46 #include "HTMLAnchorElement.h" | 40 #include "HTMLAnchorElement.h" |
47 #include "HTMLFormElement.h" | 41 #include "HTMLFormElement.h" |
48 #include "HTMLInputElement.h" | 42 #include "HTMLInputElement.h" |
49 #include "HTMLNames.h" | 43 #include "HTMLNames.h" |
50 #include "HTMLObjectElement.h" | 44 #include "HTMLObjectElement.h" |
51 #include "HTMLParserIdioms.h" | 45 #include "HTMLParserIdioms.h" |
52 #include "InspectorController.h" | 46 #include "InspectorController.h" |
53 #include "InspectorInstrumentation.h" | 47 #include "InspectorInstrumentation.h" |
54 #include "PageTransitionEvent.h" | |
55 #include "PluginData.h" | 48 #include "PluginData.h" |
56 #include "PluginDocument.h" | 49 #include "PluginDocument.h" |
57 #include "ScriptCallStack.h" | 50 #include "ScriptCallStack.h" |
58 #include "ScriptController.h" | 51 #include "ScriptController.h" |
59 #include "ScriptSourceCode.h" | 52 #include "ScriptSourceCode.h" |
60 #include "SerializedScriptValue.h" | 53 #include "SerializedScriptValue.h" |
61 #include "WebCoreMemoryInstrumentation.h" | |
62 #include "core/accessibility/AXObjectCache.h" | 54 #include "core/accessibility/AXObjectCache.h" |
| 55 #include "core/dom/BeforeUnloadEvent.h" |
| 56 #include "core/dom/DOMImplementation.h" |
| 57 #include "core/dom/Document.h" |
| 58 #include "core/dom/Element.h" |
| 59 #include "core/dom/Event.h" |
| 60 #include "core/dom/EventNames.h" |
| 61 #include "core/dom/PageTransitionEvent.h" |
| 62 #include "core/dom/WebCoreMemoryInstrumentation.h" |
63 #include "core/editing/Editor.h" | 63 #include "core/editing/Editor.h" |
64 #include "core/history/BackForwardController.h" | 64 #include "core/history/BackForwardController.h" |
65 #include "core/history/HistoryItem.h" | 65 #include "core/history/HistoryItem.h" |
66 #include "core/loader/DocumentLoadTiming.h" | 66 #include "core/loader/DocumentLoadTiming.h" |
67 #include "core/loader/DocumentLoader.h" | 67 #include "core/loader/DocumentLoader.h" |
68 #include "core/loader/FormState.h" | 68 #include "core/loader/FormState.h" |
69 #include "core/loader/FormSubmission.h" | 69 #include "core/loader/FormSubmission.h" |
70 #include "core/loader/FrameLoadRequest.h" | 70 #include "core/loader/FrameLoadRequest.h" |
71 #include "core/loader/FrameLoaderClient.h" | 71 #include "core/loader/FrameLoaderClient.h" |
72 #include "core/loader/FrameNetworkingContext.h" | 72 #include "core/loader/FrameNetworkingContext.h" |
(...skipping 2988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3061 FloatRect newWindowRect = DOMWindow::adjustWindowRect(page, windowRect); | 3061 FloatRect newWindowRect = DOMWindow::adjustWindowRect(page, windowRect); |
3062 | 3062 |
3063 page->chrome()->setWindowRect(newWindowRect); | 3063 page->chrome()->setWindowRect(newWindowRect); |
3064 page->chrome()->show(); | 3064 page->chrome()->show(); |
3065 | 3065 |
3066 created = true; | 3066 created = true; |
3067 return frame; | 3067 return frame; |
3068 } | 3068 } |
3069 | 3069 |
3070 } // namespace WebCore | 3070 } // namespace WebCore |
OLD | NEW |