Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Side by Side Diff: Source/core/page/Page.h

Issue 28983004: Split the frame tree logic out of HistoryItem (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 105
105 void setNeedsRecalcStyleInAllFrames(); 106 void setNeedsRecalcStyleInAllFrames();
106 107
107 ViewportDescription viewportDescription() const; 108 ViewportDescription viewportDescription() const;
108 109
109 static void refreshPlugins(bool reload); 110 static void refreshPlugins(bool reload);
110 PluginData* pluginData() const; 111 PluginData* pluginData() const;
111 112
112 EditorClient& editorClient() const { return *m_editorClient; } 113 EditorClient& editorClient() const { return *m_editorClient; }
113 114
115 HistoryController* history() const { return m_history.get(); }
116
114 void setMainFrame(PassRefPtr<Frame>); 117 void setMainFrame(PassRefPtr<Frame>);
115 Frame* mainFrame() const { return m_mainFrame.get(); } 118 Frame* mainFrame() const { return m_mainFrame.get(); }
116 119
117 void documentDetached(Document*); 120 void documentDetached(Document*);
118 121
119 bool openedByDOM() const; 122 bool openedByDOM() const;
120 void setOpenedByDOM(); 123 void setOpenedByDOM();
121 124
122 // DEPRECATED. Use backForward() instead of the following function. 125 // DEPRECATED. Use backForward() instead of the following function.
123 void goToItem(HistoryItem*); 126 void goToItem(HistoryItem*);
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 const OwnPtr<AutoscrollController> m_autoscrollController; 258 const OwnPtr<AutoscrollController> m_autoscrollController;
256 const OwnPtr<Chrome> m_chrome; 259 const OwnPtr<Chrome> m_chrome;
257 const OwnPtr<DragCaretController> m_dragCaretController; 260 const OwnPtr<DragCaretController> m_dragCaretController;
258 const OwnPtr<DragController> m_dragController; 261 const OwnPtr<DragController> m_dragController;
259 const OwnPtr<FocusController> m_focusController; 262 const OwnPtr<FocusController> m_focusController;
260 const OwnPtr<ContextMenuController> m_contextMenuController; 263 const OwnPtr<ContextMenuController> m_contextMenuController;
261 const OwnPtr<InspectorController> m_inspectorController; 264 const OwnPtr<InspectorController> m_inspectorController;
262 const OwnPtr<PointerLockController> m_pointerLockController; 265 const OwnPtr<PointerLockController> m_pointerLockController;
263 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; 266 RefPtr<ScrollingCoordinator> m_scrollingCoordinator;
264 267
268 const OwnPtr<HistoryController> m_history;
265 const OwnPtr<Settings> m_settings; 269 const OwnPtr<Settings> m_settings;
266 const OwnPtr<ProgressTracker> m_progress; 270 const OwnPtr<ProgressTracker> m_progress;
267 271
268 RefPtr<Frame> m_mainFrame; 272 RefPtr<Frame> m_mainFrame;
269 273
270 mutable RefPtr<PluginData> m_pluginData; 274 mutable RefPtr<PluginData> m_pluginData;
271 275
272 BackForwardClient* m_backForwardClient; 276 BackForwardClient* m_backForwardClient;
273 EditorClient* const m_editorClient; 277 EditorClient* const m_editorClient;
274 ValidationMessageClient* m_validationMessageClient; 278 ValidationMessageClient* m_validationMessageClient;
(...skipping 29 matching lines...) Expand all
304 #endif 308 #endif
305 309
306 const OwnPtr<PageConsole> m_console; 310 const OwnPtr<PageConsole> m_console;
307 311
308 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; 312 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers;
309 }; 313 };
310 314
311 } // namespace WebCore 315 } // namespace WebCore
312 316
313 #endif // Page_h 317 #endif // Page_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698