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

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

Issue 1041473002: Detach old frame on WebFrame::swap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 | Source/core/frame/Frame.cpp » ('j') | Source/web/WebFrame.cpp » ('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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 HTMLFrameOwnerElement* deprecatedLocalOwner() const; 88 HTMLFrameOwnerElement* deprecatedLocalOwner() const;
89 89
90 FrameTree& tree() const; 90 FrameTree& tree() const;
91 ChromeClient& chromeClient() const; 91 ChromeClient& chromeClient() const;
92 92
93 virtual SecurityContext* securityContext() const = 0; 93 virtual SecurityContext* securityContext() const = 0;
94 94
95 Frame* findFrameForNavigation(const AtomicString& name, Frame& activeFrame); 95 Frame* findFrameForNavigation(const AtomicString& name, Frame& activeFrame);
96 Frame* findUnsafeParentScrollPropagationBoundary(); 96 Frame* findUnsafeParentScrollPropagationBoundary();
97 97
98 void prepareSwapFrom(Frame*);
98 void finishSwapFrom(Frame*); 99 void finishSwapFrom(Frame*);
99 100
100 bool canNavigate(const Frame&); 101 bool canNavigate(const Frame&);
101 virtual void printNavigationErrorMessage(const Frame&, const char* reason) = 0; 102 virtual void printNavigationErrorMessage(const Frame&, const char* reason) = 0;
102 103
103 LayoutPart* ownerLayoutObject() const; // LayoutObject for the element that contains this frame. 104 LayoutPart* ownerLayoutObject() const; // LayoutObject for the element that contains this frame.
104 105
105 Settings* settings() const; // can be null 106 Settings* settings() const; // can be null
106 107
107 // isLoading() is true when the embedder should think a load is in progress. 108 // isLoading() is true when the embedder should think a load is in progress.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 { 142 {
142 return m_treeNode; 143 return m_treeNode;
143 } 144 }
144 145
145 // Allow equality comparisons of Frames by reference or pointer, interchangeably . 146 // Allow equality comparisons of Frames by reference or pointer, interchangeably .
146 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) 147 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame)
147 148
148 } // namespace blink 149 } // namespace blink
149 150
150 #endif // Frame_h 151 #endif // Frame_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/Frame.cpp » ('j') | Source/web/WebFrame.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698