| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv
ed. |
| 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 class ContextMenuController; | 45 class ContextMenuController; |
| 46 class Document; | 46 class Document; |
| 47 class DragCaretController; | 47 class DragCaretController; |
| 48 class DragClient; | 48 class DragClient; |
| 49 class DragController; | 49 class DragController; |
| 50 class EditorClient; | 50 class EditorClient; |
| 51 class FocusController; | 51 class FocusController; |
| 52 class Frame; | 52 class Frame; |
| 53 class FrameSelection; | 53 class FrameSelection; |
| 54 class HaltablePlugin; | 54 class HaltablePlugin; |
| 55 class HistoryController; |
| 55 class HistoryItem; | 56 class HistoryItem; |
| 56 class InspectorClient; | 57 class InspectorClient; |
| 57 class InspectorController; | 58 class InspectorController; |
| 58 class Node; | 59 class Node; |
| 59 class PageConsole; | 60 class PageConsole; |
| 60 class PageGroup; | 61 class PageGroup; |
| 61 class PageLifecycleNotifier; | 62 class PageLifecycleNotifier; |
| 62 class PlatformMouseEvent; | 63 class PlatformMouseEvent; |
| 63 class PluginData; | 64 class PluginData; |
| 64 class PointerLockController; | 65 class PointerLockController; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 106 |
| 106 void setNeedsRecalcStyleInAllFrames(); | 107 void setNeedsRecalcStyleInAllFrames(); |
| 107 | 108 |
| 108 ViewportDescription viewportDescription() const; | 109 ViewportDescription viewportDescription() const; |
| 109 | 110 |
| 110 static void refreshPlugins(bool reload); | 111 static void refreshPlugins(bool reload); |
| 111 PluginData* pluginData() const; | 112 PluginData* pluginData() const; |
| 112 | 113 |
| 113 EditorClient& editorClient() const { return *m_editorClient; } | 114 EditorClient& editorClient() const { return *m_editorClient; } |
| 114 | 115 |
| 116 HistoryController* history() const { return m_history.get(); } |
| 117 |
| 115 void setMainFrame(PassRefPtr<Frame>); | 118 void setMainFrame(PassRefPtr<Frame>); |
| 116 Frame* mainFrame() const { return m_mainFrame.get(); } | 119 Frame* mainFrame() const { return m_mainFrame.get(); } |
| 117 | 120 |
| 118 void documentDetached(Document*); | 121 void documentDetached(Document*); |
| 119 | 122 |
| 120 bool openedByDOM() const; | 123 bool openedByDOM() const; |
| 121 void setOpenedByDOM(); | 124 void setOpenedByDOM(); |
| 122 | 125 |
| 123 // DEPRECATED. Use backForward() instead of the following function. | |
| 124 void goToItem(HistoryItem*); | |
| 125 | |
| 126 enum PageGroupType { PrivatePageGroup, SharedPageGroup }; | 126 enum PageGroupType { PrivatePageGroup, SharedPageGroup }; |
| 127 void setGroupType(PageGroupType); | 127 void setGroupType(PageGroupType); |
| 128 void clearPageGroup(); | 128 void clearPageGroup(); |
| 129 PageGroup& group() | 129 PageGroup& group() |
| 130 { | 130 { |
| 131 if (!m_group) | 131 if (!m_group) |
| 132 setGroupType(PrivatePageGroup); | 132 setGroupType(PrivatePageGroup); |
| 133 return *m_group; | 133 return *m_group; |
| 134 } | 134 } |
| 135 | 135 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 const OwnPtr<AutoscrollController> m_autoscrollController; | 244 const OwnPtr<AutoscrollController> m_autoscrollController; |
| 245 const OwnPtr<Chrome> m_chrome; | 245 const OwnPtr<Chrome> m_chrome; |
| 246 const OwnPtr<DragCaretController> m_dragCaretController; | 246 const OwnPtr<DragCaretController> m_dragCaretController; |
| 247 const OwnPtr<DragController> m_dragController; | 247 const OwnPtr<DragController> m_dragController; |
| 248 const OwnPtr<FocusController> m_focusController; | 248 const OwnPtr<FocusController> m_focusController; |
| 249 const OwnPtr<ContextMenuController> m_contextMenuController; | 249 const OwnPtr<ContextMenuController> m_contextMenuController; |
| 250 const OwnPtr<InspectorController> m_inspectorController; | 250 const OwnPtr<InspectorController> m_inspectorController; |
| 251 const OwnPtr<PointerLockController> m_pointerLockController; | 251 const OwnPtr<PointerLockController> m_pointerLockController; |
| 252 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; | 252 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; |
| 253 | 253 |
| 254 const OwnPtr<HistoryController> m_history; |
| 254 const OwnPtr<Settings> m_settings; | 255 const OwnPtr<Settings> m_settings; |
| 255 const OwnPtr<ProgressTracker> m_progress; | 256 const OwnPtr<ProgressTracker> m_progress; |
| 256 | 257 |
| 257 RefPtr<Frame> m_mainFrame; | 258 RefPtr<Frame> m_mainFrame; |
| 258 | 259 |
| 259 mutable RefPtr<PluginData> m_pluginData; | 260 mutable RefPtr<PluginData> m_pluginData; |
| 260 | 261 |
| 261 BackForwardClient* m_backForwardClient; | 262 BackForwardClient* m_backForwardClient; |
| 262 EditorClient* const m_editorClient; | 263 EditorClient* const m_editorClient; |
| 263 ValidationMessageClient* m_validationMessageClient; | 264 ValidationMessageClient* m_validationMessageClient; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 294 #endif | 295 #endif |
| 295 | 296 |
| 296 const OwnPtr<PageConsole> m_console; | 297 const OwnPtr<PageConsole> m_console; |
| 297 | 298 |
| 298 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; | 299 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; |
| 299 }; | 300 }; |
| 300 | 301 |
| 301 } // namespace WebCore | 302 } // namespace WebCore |
| 302 | 303 |
| 303 #endif // Page_h | 304 #endif // Page_h |
| OLD | NEW |