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 20 matching lines...) Expand all Loading... |
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/ScriptController.h" | 40 #include "bindings/core/v8/ScriptController.h" |
41 #include "bindings/core/v8/SerializedScriptValue.h" | 41 #include "bindings/core/v8/serialization/SerializedScriptValue.h" |
42 #include "core/HTMLNames.h" | 42 #include "core/HTMLNames.h" |
43 #include "core/dom/Document.h" | 43 #include "core/dom/Document.h" |
44 #include "core/dom/Element.h" | 44 #include "core/dom/Element.h" |
45 #include "core/dom/TaskRunnerHelper.h" | 45 #include "core/dom/TaskRunnerHelper.h" |
46 #include "core/dom/ViewportDescription.h" | 46 #include "core/dom/ViewportDescription.h" |
47 #include "core/editing/Editor.h" | 47 #include "core/editing/Editor.h" |
48 #include "core/events/GestureEvent.h" | 48 #include "core/events/GestureEvent.h" |
49 #include "core/events/KeyboardEvent.h" | 49 #include "core/events/KeyboardEvent.h" |
50 #include "core/events/MouseEvent.h" | 50 #include "core/events/MouseEvent.h" |
51 #include "core/events/PageTransitionEvent.h" | 51 #include "core/events/PageTransitionEvent.h" |
(...skipping 1692 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 |