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

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, 1 month 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
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. 126 // DEPRECATED. Use backForward() instead of the following function.
124 void goToItem(HistoryItem*); 127 void goToItem(HistoryItem*);
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 const OwnPtr<AutoscrollController> m_autoscrollController; 260 const OwnPtr<AutoscrollController> m_autoscrollController;
258 const OwnPtr<Chrome> m_chrome; 261 const OwnPtr<Chrome> m_chrome;
259 const OwnPtr<DragCaretController> m_dragCaretController; 262 const OwnPtr<DragCaretController> m_dragCaretController;
260 const OwnPtr<DragController> m_dragController; 263 const OwnPtr<DragController> m_dragController;
261 const OwnPtr<FocusController> m_focusController; 264 const OwnPtr<FocusController> m_focusController;
262 const OwnPtr<ContextMenuController> m_contextMenuController; 265 const OwnPtr<ContextMenuController> m_contextMenuController;
263 const OwnPtr<InspectorController> m_inspectorController; 266 const OwnPtr<InspectorController> m_inspectorController;
264 const OwnPtr<PointerLockController> m_pointerLockController; 267 const OwnPtr<PointerLockController> m_pointerLockController;
265 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; 268 RefPtr<ScrollingCoordinator> m_scrollingCoordinator;
266 269
270 const OwnPtr<HistoryController> m_history;
267 const OwnPtr<Settings> m_settings; 271 const OwnPtr<Settings> m_settings;
268 const OwnPtr<ProgressTracker> m_progress; 272 const OwnPtr<ProgressTracker> m_progress;
269 273
270 RefPtr<Frame> m_mainFrame; 274 RefPtr<Frame> m_mainFrame;
271 275
272 mutable RefPtr<PluginData> m_pluginData; 276 mutable RefPtr<PluginData> m_pluginData;
273 277
274 BackForwardClient* m_backForwardClient; 278 BackForwardClient* m_backForwardClient;
275 EditorClient* const m_editorClient; 279 EditorClient* const m_editorClient;
276 ValidationMessageClient* m_validationMessageClient; 280 ValidationMessageClient* m_validationMessageClient;
(...skipping 30 matching lines...) Expand all
307 #endif 311 #endif
308 312
309 const OwnPtr<PageConsole> m_console; 313 const OwnPtr<PageConsole> m_console;
310 314
311 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; 315 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers;
312 }; 316 };
313 317
314 } // namespace WebCore 318 } // namespace WebCore
315 319
316 #endif // Page_h 320 #endif // Page_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698