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

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

Issue 573353002: Plumbing toward transitioning remote frame back to a local frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/core/frame/FrameClient.h » ('j') | Source/core/frame/FrameClient.h » ('J')
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 12 matching lines...) Expand all
23 * along with this library; see the file COPYING.LIB. If not, write to 23 * along with this library; see the file COPYING.LIB. If not, write to
24 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 24 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
25 * Boston, MA 02110-1301, USA. 25 * Boston, MA 02110-1301, USA.
26 */ 26 */
27 27
28 #ifndef Frame_h 28 #ifndef Frame_h
29 #define Frame_h 29 #define Frame_h
30 30
31 #include "core/page/FrameTree.h" 31 #include "core/page/FrameTree.h"
32 #include "platform/heap/Handle.h" 32 #include "platform/heap/Handle.h"
33 #include "platform/weborigin/KURL.h"
34 #include "platform/weborigin/Referrer.h"
33 #include "wtf/Forward.h" 35 #include "wtf/Forward.h"
34 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
35 37
36 namespace blink { 38 namespace blink {
37 class WebLayer; 39 class WebLayer;
38 } 40 }
39 41
40 namespace blink { 42 namespace blink {
41 43
42 class ChromeClient; 44 class ChromeClient;
45 class Document;
43 class FrameClient; 46 class FrameClient;
44 class FrameHost; 47 class FrameHost;
45 class FrameOwner; 48 class FrameOwner;
46 class HTMLFrameOwnerElement; 49 class HTMLFrameOwnerElement;
47 class LocalDOMWindow; 50 class LocalDOMWindow;
48 class Page; 51 class Page;
49 class RenderPart; 52 class RenderPart;
50 class Settings; 53 class Settings;
51 54
52 class Frame : public RefCounted<Frame> { 55 class Frame : public RefCounted<Frame> {
53 public: 56 public:
54 virtual bool isLocalFrame() const { return false; } 57 virtual bool isLocalFrame() const { return false; }
55 virtual bool isRemoteFrame() const { return false; } 58 virtual bool isRemoteFrame() const { return false; }
56 59
57 virtual ~Frame(); 60 virtual ~Frame();
58 61
62 virtual void navigate(Document& originDocument, const KURL&, const Referrer& , bool lockBackForwardList) = 0;
59 virtual void detach() = 0; 63 virtual void detach() = 0;
60 void detachChildren(); 64 void detachChildren();
61 65
62 FrameClient* client() const; 66 FrameClient* client() const;
63 void clearClient(); 67 void clearClient();
64 68
65 // NOTE: Page is moving out of Blink up into the browser process as 69 // NOTE: Page is moving out of Blink up into the browser process as
66 // part of the site-isolation (out of process iframes) work. 70 // part of the site-isolation (out of process iframes) work.
67 // FrameHost should be used instead where possible. 71 // FrameHost should be used instead where possible.
68 Page* page() const; 72 Page* page() const;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 { 141 {
138 return m_treeNode; 142 return m_treeNode;
139 } 143 }
140 144
141 // Allow equality comparisons of Frames by reference or pointer, interchangeably . 145 // Allow equality comparisons of Frames by reference or pointer, interchangeably .
142 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) 146 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame)
143 147
144 } // namespace blink 148 } // namespace blink
145 149
146 #endif // Frame_h 150 #endif // Frame_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/FrameClient.h » ('j') | Source/core/frame/FrameClient.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698