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

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

Issue 2134113002: Use ChildFrameDisconnector when detaching child frames of a LocalFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/Frame.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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual DOMWindow* domWindow() const = 0; 74 virtual DOMWindow* domWindow() const = 0;
75 virtual WindowProxy* windowProxy(DOMWrapperWorld&) = 0; 75 virtual WindowProxy* windowProxy(DOMWrapperWorld&) = 0;
76 76
77 virtual void navigate(Document& originDocument, const KURL&, bool replaceCur rentItem, UserGestureStatus) = 0; 77 virtual void navigate(Document& originDocument, const KURL&, bool replaceCur rentItem, UserGestureStatus) = 0;
78 // This version of Frame::navigate assumes the resulting navigation is not 78 // This version of Frame::navigate assumes the resulting navigation is not
79 // to be started on a timer. Use the method above in such cases. 79 // to be started on a timer. Use the method above in such cases.
80 virtual void navigate(const FrameLoadRequest&) = 0; 80 virtual void navigate(const FrameLoadRequest&) = 0;
81 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; 81 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0;
82 82
83 virtual void detach(FrameDetachType); 83 virtual void detach(FrameDetachType);
84 void detachChildren();
85 void disconnectOwnerElement(); 84 void disconnectOwnerElement();
86 virtual bool shouldClose() = 0; 85 virtual bool shouldClose() = 0;
87 86
88 FrameClient* client() const; 87 FrameClient* client() const;
89 88
90 // NOTE: Page is moving out of Blink up into the browser process as 89 // NOTE: Page is moving out of Blink up into the browser process as
91 // part of the site-isolation (out of process iframes) work. 90 // part of the site-isolation (out of process iframes) work.
92 // FrameHost should be used instead where possible. 91 // FrameHost should be used instead where possible.
93 Page* page() const; 92 Page* page() const;
94 FrameHost* host() const; // Null when the frame is detached. 93 FrameHost* host() const; // Null when the frame is detached.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 { 164 {
166 return m_treeNode; 165 return m_treeNode;
167 } 166 }
168 167
169 // Allow equality comparisons of Frames by reference or pointer, interchangeably . 168 // Allow equality comparisons of Frames by reference or pointer, interchangeably .
170 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) 169 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame)
171 170
172 } // namespace blink 171 } // namespace blink
173 172
174 #endif // Frame_h 173 #endif // Frame_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/Frame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698