Index: Source/core/page/Page.h |
diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h |
index 0f0781c0b7c9c652643d53ae65b5ef7830197196..f9733f9ac5166527d8d24cc9e600c8a1494a8c6a 100644 |
--- a/Source/core/page/Page.h |
+++ b/Source/core/page/Page.h |
@@ -52,6 +52,7 @@ class FocusController; |
class Frame; |
class FrameSelection; |
class HaltablePlugin; |
+class HistoryController; |
class HistoryItem; |
class InspectorClient; |
class InspectorController; |
@@ -115,6 +116,8 @@ public: |
EditorClient& editorClient() const { return *m_editorClient; } |
SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClient; } |
+ HistoryController* history() const { return m_history.get(); } |
+ |
void setMainFrame(PassRefPtr<Frame>); |
Frame* mainFrame() const { return m_mainFrame.get(); } |
@@ -123,9 +126,6 @@ public: |
bool openedByDOM() const; |
void setOpenedByDOM(); |
- // DEPRECATED. Use backForward() instead of the following function. |
- void goToItem(HistoryItem*); |
- |
enum PageGroupType { PrivatePageGroup, SharedPageGroup }; |
void setGroupType(PageGroupType); |
void clearPageGroup(); |
@@ -251,6 +251,7 @@ private: |
const OwnPtr<PointerLockController> m_pointerLockController; |
RefPtr<ScrollingCoordinator> m_scrollingCoordinator; |
+ const OwnPtr<HistoryController> m_history; |
const OwnPtr<Settings> m_settings; |
const OwnPtr<ProgressTracker> m_progress; |