OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010 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 * Copyright (C) 2009 Adam Barth. All rights reserved. | 5 * Copyright (C) 2009 Adam Barth. All rights reserved. |
6 * | 6 * |
7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
9 * are met: | 9 * are met: |
10 * | 10 * |
(...skipping 14 matching lines...) Expand all Loading... |
25 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 25 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
26 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 26 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
27 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 */ | 30 */ |
31 | 31 |
32 #include "config.h" | 32 #include "config.h" |
33 #include "core/loader/NavigationScheduler.h" | 33 #include "core/loader/NavigationScheduler.h" |
34 | 34 |
35 #include "Event.h" | |
36 #include "HTMLFormElement.h" | 35 #include "HTMLFormElement.h" |
37 #include "HTMLFrameOwnerElement.h" | 36 #include "HTMLFrameOwnerElement.h" |
38 #include "InspectorInstrumentation.h" | 37 #include "InspectorInstrumentation.h" |
39 #include "ScriptController.h" | 38 #include "ScriptController.h" |
40 #include "UserGestureIndicator.h" | 39 #include "core/dom/Event.h" |
| 40 #include "core/dom/UserGestureIndicator.h" |
41 #include "core/history/BackForwardController.h" | 41 #include "core/history/BackForwardController.h" |
42 #include "core/history/HistoryItem.h" | 42 #include "core/history/HistoryItem.h" |
43 #include "core/loader/DocumentLoader.h" | 43 #include "core/loader/DocumentLoader.h" |
44 #include "core/loader/FormState.h" | 44 #include "core/loader/FormState.h" |
45 #include "core/loader/FormSubmission.h" | 45 #include "core/loader/FormSubmission.h" |
46 #include "core/loader/FrameLoadRequest.h" | 46 #include "core/loader/FrameLoadRequest.h" |
47 #include "core/loader/FrameLoader.h" | 47 #include "core/loader/FrameLoader.h" |
48 #include "core/loader/FrameLoaderStateMachine.h" | 48 #include "core/loader/FrameLoaderStateMachine.h" |
49 #include "core/page/DOMWindow.h" | 49 #include "core/page/DOMWindow.h" |
50 #include "core/page/Frame.h" | 50 #include "core/page/Frame.h" |
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 if (m_timer.isActive()) | 475 if (m_timer.isActive()) |
476 InspectorInstrumentation::frameClearedScheduledNavigation(m_frame); | 476 InspectorInstrumentation::frameClearedScheduledNavigation(m_frame); |
477 m_timer.stop(); | 477 m_timer.stop(); |
478 | 478 |
479 OwnPtr<ScheduledNavigation> redirect(m_redirect.release()); | 479 OwnPtr<ScheduledNavigation> redirect(m_redirect.release()); |
480 if (redirect) | 480 if (redirect) |
481 redirect->didStopTimer(m_frame, newLoadInProgress); | 481 redirect->didStopTimer(m_frame, newLoadInProgress); |
482 } | 482 } |
483 | 483 |
484 } // namespace WebCore | 484 } // namespace WebCore |
OLD | NEW |