OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
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 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * | 9 * |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 14 matching lines...) Expand all Loading... |
25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #include "core/loader/HistoryController.h" | 32 #include "core/loader/HistoryController.h" |
33 | 33 |
34 #include "core/dom/Document.h" | 34 #include "core/dom/Document.h" |
35 #include "core/history/HistoryItem.h" | |
36 #include "core/inspector/InspectorController.h" | 35 #include "core/inspector/InspectorController.h" |
37 #include "core/loader/DocumentLoader.h" | 36 #include "core/loader/DocumentLoader.h" |
38 #include "core/loader/FrameLoader.h" | 37 #include "core/loader/FrameLoader.h" |
39 #include "core/frame/Frame.h" | 38 #include "core/frame/Frame.h" |
40 #include "core/frame/FrameView.h" | 39 #include "core/frame/FrameView.h" |
41 #include "core/page/FrameTree.h" | 40 #include "core/page/FrameTree.h" |
42 #include "core/page/Page.h" | 41 #include "core/page/Page.h" |
43 #include "platform/Logging.h" | 42 #include "platform/Logging.h" |
44 #include "wtf/Deque.h" | 43 #include "wtf/Deque.h" |
45 #include "wtf/text/CString.h" | 44 #include "wtf/text/CString.h" |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 if (item->url() != documentLoader->url()) { | 388 if (item->url() != documentLoader->url()) { |
390 item->reset(); | 389 item->reset(); |
391 initializeItem(item, frame); | 390 initializeItem(item, frame); |
392 } else { | 391 } else { |
393 // Even if the final URL didn't change, the form data may have changed. | 392 // Even if the final URL didn't change, the form data may have changed. |
394 item->setFormInfoFromRequest(documentLoader->request()); | 393 item->setFormInfoFromRequest(documentLoader->request()); |
395 } | 394 } |
396 } | 395 } |
397 | 396 |
398 } // namespace WebCore | 397 } // namespace WebCore |
OLD | NEW |