| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 4 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 5 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 5 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 6 * (http://www.torchmobile.com/) | 6 * (http://www.torchmobile.com/) |
| 7 * Copyright (C) 2008 Alp Toker <alp@atoker.com> | 7 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
| 8 * Copyright (C) Research In Motion Limited 2009. All rights reserved. | 8 * Copyright (C) Research In Motion Limited 2009. All rights reserved. |
| 9 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com> | 9 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com> |
| 10 * Copyright (C) 2011 Google Inc. All rights reserved. | 10 * Copyright (C) 2011 Google Inc. All rights reserved. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 30 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 31 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 31 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 32 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 32 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 34 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 34 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 35 */ | 35 */ |
| 36 | 36 |
| 37 #include "core/loader/FrameLoader.h" | 37 #include "core/loader/FrameLoader.h" |
| 38 | 38 |
| 39 #include <memory> | 39 #include <memory> |
| 40 #include "bindings/core/v8/DOMWrapperWorld.h" | |
| 41 #include "bindings/core/v8/ScriptController.h" | 40 #include "bindings/core/v8/ScriptController.h" |
| 42 #include "bindings/core/v8/SerializedScriptValue.h" | 41 #include "bindings/core/v8/SerializedScriptValue.h" |
| 43 #include "core/HTMLNames.h" | 42 #include "core/HTMLNames.h" |
| 44 #include "core/dom/Document.h" | 43 #include "core/dom/Document.h" |
| 45 #include "core/dom/Element.h" | 44 #include "core/dom/Element.h" |
| 46 #include "core/dom/TaskRunnerHelper.h" | 45 #include "core/dom/TaskRunnerHelper.h" |
| 47 #include "core/dom/ViewportDescription.h" | 46 #include "core/dom/ViewportDescription.h" |
| 48 #include "core/editing/Editor.h" | 47 #include "core/editing/Editor.h" |
| 49 #include "core/events/GestureEvent.h" | 48 #include "core/events/GestureEvent.h" |
| 50 #include "core/events/KeyboardEvent.h" | 49 #include "core/events/KeyboardEvent.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 78 #include "core/page/Page.h" | 77 #include "core/page/Page.h" |
| 79 #include "core/page/WindowFeatures.h" | 78 #include "core/page/WindowFeatures.h" |
| 80 #include "core/page/scrolling/ScrollingCoordinator.h" | 79 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 81 #include "core/probe/CoreProbes.h" | 80 #include "core/probe/CoreProbes.h" |
| 82 #include "core/svg/graphics/SVGImage.h" | 81 #include "core/svg/graphics/SVGImage.h" |
| 83 #include "core/xml/parser/XMLDocumentParser.h" | 82 #include "core/xml/parser/XMLDocumentParser.h" |
| 84 #include "platform/InstanceCounters.h" | 83 #include "platform/InstanceCounters.h" |
| 85 #include "platform/PluginScriptForbiddenScope.h" | 84 #include "platform/PluginScriptForbiddenScope.h" |
| 86 #include "platform/ScriptForbiddenScope.h" | 85 #include "platform/ScriptForbiddenScope.h" |
| 87 #include "platform/UserGestureIndicator.h" | 86 #include "platform/UserGestureIndicator.h" |
| 87 #include "platform/bindings/DOMWrapperWorld.h" |
| 88 #include "platform/instrumentation/tracing/TraceEvent.h" | 88 #include "platform/instrumentation/tracing/TraceEvent.h" |
| 89 #include "platform/loader/fetch/ResourceFetcher.h" | 89 #include "platform/loader/fetch/ResourceFetcher.h" |
| 90 #include "platform/loader/fetch/ResourceRequest.h" | 90 #include "platform/loader/fetch/ResourceRequest.h" |
| 91 #include "platform/network/HTTPParsers.h" | 91 #include "platform/network/HTTPParsers.h" |
| 92 #include "platform/network/NetworkUtils.h" | 92 #include "platform/network/NetworkUtils.h" |
| 93 #include "platform/scroll/ScrollAnimatorBase.h" | 93 #include "platform/scroll/ScrollAnimatorBase.h" |
| 94 #include "platform/weborigin/SchemeRegistry.h" | 94 #include "platform/weborigin/SchemeRegistry.h" |
| 95 #include "platform/weborigin/SecurityOrigin.h" | 95 #include "platform/weborigin/SecurityOrigin.h" |
| 96 #include "platform/weborigin/SecurityPolicy.h" | 96 #include "platform/weborigin/SecurityPolicy.h" |
| 97 #include "platform/weborigin/Suborigin.h" | 97 #include "platform/weborigin/Suborigin.h" |
| (...skipping 1646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1744 // TODO(japhet): This is needed because the browser process DCHECKs if the | 1744 // TODO(japhet): This is needed because the browser process DCHECKs if the |
| 1745 // first entry we commit in a new frame has replacement set. It's unclear | 1745 // first entry we commit in a new frame has replacement set. It's unclear |
| 1746 // whether the DCHECK is right, investigate removing this special case. | 1746 // whether the DCHECK is right, investigate removing this special case. |
| 1747 bool replace_current_item = load_type == kFrameLoadTypeReplaceCurrentItem && | 1747 bool replace_current_item = load_type == kFrameLoadTypeReplaceCurrentItem && |
| 1748 (!Opener() || !request.Url().IsEmpty()); | 1748 (!Opener() || !request.Url().IsEmpty()); |
| 1749 loader->SetReplacesCurrentHistoryItem(replace_current_item); | 1749 loader->SetReplacesCurrentHistoryItem(replace_current_item); |
| 1750 return loader; | 1750 return loader; |
| 1751 } | 1751 } |
| 1752 | 1752 |
| 1753 } // namespace blink | 1753 } // namespace blink |
| OLD | NEW |