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

Side by Side Diff: Source/core/frame/Frame.h

Issue 643333002: Prepare for remote->local frame swap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/web/WebFrame.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999-2001 Lars Knoll <knoll@kde.org> 3 * 1999-2001 Lars Knoll <knoll@kde.org>
4 * 1999-2001 Antti Koivisto <koivisto@kde.org> 4 * 1999-2001 Antti Koivisto <koivisto@kde.org>
5 * 2000-2001 Simon Hausmann <hausmann@kde.org> 5 * 2000-2001 Simon Hausmann <hausmann@kde.org>
6 * 2000-2001 Dirk Mueller <mueller@kde.org> 6 * 2000-2001 Dirk Mueller <mueller@kde.org>
7 * 2000 Stefan Schimanski <1Stein@gmx.de> 7 * 2000 Stefan Schimanski <1Stein@gmx.de>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // FrameHost should be used instead where possible. 69 // FrameHost should be used instead where possible.
70 Page* page() const; 70 Page* page() const;
71 FrameHost* host() const; // Null when the frame is detached. 71 FrameHost* host() const; // Null when the frame is detached.
72 72
73 bool isMainFrame() const; 73 bool isMainFrame() const;
74 bool isLocalRoot() const; 74 bool isLocalRoot() const;
75 75
76 virtual void disconnectOwnerElement(); 76 virtual void disconnectOwnerElement();
77 77
78 FrameOwner* owner() const; 78 FrameOwner* owner() const;
79 void setOwner(FrameOwner* owner) { m_owner = owner; }
79 HTMLFrameOwnerElement* deprecatedLocalOwner() const; 80 HTMLFrameOwnerElement* deprecatedLocalOwner() const;
80 81
81 // FIXME: LocalDOMWindow and Document should both be moved to LocalFrame 82 // FIXME: LocalDOMWindow and Document should both be moved to LocalFrame
82 // after RemoteFrame is complete enough to exist without them. 83 // after RemoteFrame is complete enough to exist without them.
83 virtual void setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow>); 84 virtual void setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow>);
84 LocalDOMWindow* domWindow() const; 85 LocalDOMWindow* domWindow() const;
85 86
86 FrameTree& tree() const; 87 FrameTree& tree() const;
87 ChromeClient& chromeClient() const; 88 ChromeClient& chromeClient() const;
88 89
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 { 135 {
135 return m_treeNode; 136 return m_treeNode;
136 } 137 }
137 138
138 // Allow equality comparisons of Frames by reference or pointer, interchangeably . 139 // Allow equality comparisons of Frames by reference or pointer, interchangeably .
139 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) 140 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame)
140 141
141 } // namespace blink 142 } // namespace blink
142 143
143 #endif // Frame_h 144 #endif // Frame_h
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698