OLD | NEW |
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 virtual bool isLocalFrame() const OVERRIDE { return true; } | 67 virtual bool isLocalFrame() const OVERRIDE { return true; } |
68 | 68 |
69 void init(); | 69 void init(); |
70 void setView(PassRefPtr<FrameView>); | 70 void setView(PassRefPtr<FrameView>); |
71 void createView(const IntSize&, const Color&, bool, | 71 void createView(const IntSize&, const Color&, bool, |
72 ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, | 72 ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, |
73 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); | 73 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); |
74 | 74 |
75 virtual ~LocalFrame(); | 75 virtual ~LocalFrame(); |
76 | 76 |
| 77 void willBeDestroyed(); |
| 78 |
77 virtual void willDetachFrameHost() OVERRIDE; | 79 virtual void willDetachFrameHost() OVERRIDE; |
78 virtual void detachFromFrameHost() OVERRIDE; | 80 virtual void detachFromFrameHost() OVERRIDE; |
79 | 81 |
80 virtual void disconnectOwnerElement() OVERRIDE; | 82 virtual void disconnectOwnerElement() OVERRIDE; |
81 | 83 |
82 virtual void setDOMWindow(PassRefPtrWillBeRawPtr<DOMWindow>) OVERRIDE; | 84 virtual void setDOMWindow(PassRefPtrWillBeRawPtr<DOMWindow>) OVERRIDE; |
83 FrameView* view() const; | 85 FrameView* view() const; |
84 Document* document() const; | 86 Document* document() const; |
85 | 87 |
86 RenderView* contentRenderer() const; // Root of the render tree for the
document contained in this frame. | 88 RenderView* contentRenderer() const; // Root of the render tree for the
document contained in this frame. |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); | 242 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); |
241 | 243 |
242 } // namespace WebCore | 244 } // namespace WebCore |
243 | 245 |
244 // During refactoring, there are some places where we need to do type conversion
s that | 246 // During refactoring, there are some places where we need to do type conversion
s that |
245 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. | 247 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. |
246 // At that time this #define will be removed and all the uses of it will need to
be corrected. | 248 // At that time this #define will be removed and all the uses of it will need to
be corrected. |
247 #define toLocalFrameTemporary toLocalFrame | 249 #define toLocalFrameTemporary toLocalFrame |
248 | 250 |
249 #endif // LocalFrame_h | 251 #endif // LocalFrame_h |
OLD | NEW |