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

Unified Diff: Source/core/page/Page.h

Issue 115293005: Add a layer of indirection between Frame and Page (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make GCC happy Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Page.h
diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h
index 97f320b89f97a35fb00a7dbe47ae604a41825f41..ef8a762788140b26f7b8b2a2f3d20a54d7a11296 100644
--- a/Source/core/page/Page.h
+++ b/Source/core/page/Page.h
@@ -52,6 +52,7 @@ class DragController;
class EditorClient;
class FocusController;
class Frame;
+class FrameHost;
class FrameSelection;
class HaltablePlugin;
class HistoryItem;
@@ -107,6 +108,8 @@ public:
explicit Page(PageClients&);
~Page();
+ FrameHost& frameHost() { return *m_frameHost; }
+
void setNeedsRecalcStyleInAllFrames();
ViewportDescription viewportDescription() const;
@@ -128,6 +131,7 @@ public:
bool openedByDOM() const;
void setOpenedByDOM();
+ // FIXME: PageGroup should probably just be removed, see comment in PageGroup.h
enum PageGroupType { PrivatePageGroup, SharedPageGroup };
void setGroupType(PageGroupType);
void clearPageGroup();
@@ -298,6 +302,10 @@ private:
const OwnPtr<PageConsole> m_console;
HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers;
+
+ // A pointer to all the interfaces provided to in-process Frames for this Page.
+ // FIXME: Most of the members of Page should move onto FrameHost.
+ OwnPtr<FrameHost> m_frameHost;
};
} // namespace WebCore
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698