| 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 20 matching lines...) Expand all Loading... |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "core/loader/HistoryController.h" | 32 #include "core/loader/HistoryController.h" |
| 33 | 33 |
| 34 #include "BackForwardController.h" | 34 #include "BackForwardController.h" |
| 35 #include "Document.h" | 35 #include "Document.h" |
| 36 #include "Frame.h" | 36 #include "Frame.h" |
| 37 #include "FrameTree.h" | 37 #include "FrameTree.h" |
| 38 #include "FrameView.h" | 38 #include "FrameView.h" |
| 39 #include "HistoryItem.h" | 39 #include "HistoryItem.h" |
| 40 #include "Page.h" | 40 #include "Page.h" |
| 41 #include "ScrollingCoordinator.h" | |
| 42 #include "Settings.h" | 41 #include "Settings.h" |
| 43 #include "core/loader/DocumentLoader.h" | 42 #include "core/loader/DocumentLoader.h" |
| 44 #include "core/loader/FrameLoader.h" | 43 #include "core/loader/FrameLoader.h" |
| 45 #include "core/loader/FrameLoaderClient.h" | 44 #include "core/loader/FrameLoaderClient.h" |
| 46 #include "core/loader/FrameLoaderStateMachine.h" | 45 #include "core/loader/FrameLoaderStateMachine.h" |
| 46 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 47 #include "core/platform/Logging.h" | 47 #include "core/platform/Logging.h" |
| 48 #include <wtf/text/CString.h> | 48 #include <wtf/text/CString.h> |
| 49 | 49 |
| 50 namespace WebCore { | 50 namespace WebCore { |
| 51 | 51 |
| 52 HistoryController::HistoryController(Frame* frame) | 52 HistoryController::HistoryController(Frame* frame) |
| 53 : m_frame(frame) | 53 : m_frame(frame) |
| 54 , m_frameLoadComplete(true) | 54 , m_frameLoadComplete(true) |
| 55 , m_defersLoading(false) | 55 , m_defersLoading(false) |
| 56 { | 56 { |
| (...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 m_currentItem->setURLString(urlString); | 782 m_currentItem->setURLString(urlString); |
| 783 m_currentItem->setTitle(title); | 783 m_currentItem->setTitle(title); |
| 784 m_currentItem->setStateObject(stateObject); | 784 m_currentItem->setStateObject(stateObject); |
| 785 m_currentItem->setFormData(0); | 785 m_currentItem->setFormData(0); |
| 786 m_currentItem->setFormContentType(String()); | 786 m_currentItem->setFormContentType(String()); |
| 787 | 787 |
| 788 ASSERT(m_frame->page()); | 788 ASSERT(m_frame->page()); |
| 789 } | 789 } |
| 790 | 790 |
| 791 } // namespace WebCore | 791 } // namespace WebCore |
| OLD | NEW |