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 14 matching lines...) Expand all Loading... |
25 * Boston, MA 02110-1301, USA. | 25 * Boston, MA 02110-1301, USA. |
26 */ | 26 */ |
27 | 27 |
28 #ifndef LocalFrame_h | 28 #ifndef LocalFrame_h |
29 #define LocalFrame_h | 29 #define LocalFrame_h |
30 | 30 |
31 #include "core/frame/Frame.h" | 31 #include "core/frame/Frame.h" |
32 #include "core/loader/FrameLoader.h" | 32 #include "core/loader/FrameLoader.h" |
33 #include "core/loader/NavigationScheduler.h" | 33 #include "core/loader/NavigationScheduler.h" |
34 #include "core/page/FrameTree.h" | 34 #include "core/page/FrameTree.h" |
| 35 #include "heap/Handle.h" |
35 #include "platform/scroll/ScrollTypes.h" | 36 #include "platform/scroll/ScrollTypes.h" |
36 | 37 |
37 namespace WebCore { | 38 namespace WebCore { |
38 | 39 |
39 class Color; | 40 class Color; |
40 class DragImage; | 41 class DragImage; |
41 class Editor; | 42 class Editor; |
42 class EventHandler; | 43 class EventHandler; |
43 class FetchContext; | 44 class FetchContext; |
44 class FloatSize; | 45 class FloatSize; |
(...skipping 24 matching lines...) Expand all Loading... |
69 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); | 70 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); |
70 | 71 |
71 virtual ~LocalFrame(); | 72 virtual ~LocalFrame(); |
72 | 73 |
73 virtual void willDetachFrameHost() OVERRIDE; | 74 virtual void willDetachFrameHost() OVERRIDE; |
74 virtual void detachFromFrameHost() OVERRIDE; | 75 virtual void detachFromFrameHost() OVERRIDE; |
75 void disconnectOwnerElement(); | 76 void disconnectOwnerElement(); |
76 | 77 |
77 HTMLFrameOwnerElement* ownerElement() const; | 78 HTMLFrameOwnerElement* ownerElement() const; |
78 | 79 |
79 virtual void setDOMWindow(PassRefPtr<DOMWindow>) OVERRIDE; | 80 virtual void setDOMWindow(PassRefPtrWillBeRawPtr<DOMWindow>) OVERRIDE; |
80 FrameView* view() const; | 81 FrameView* view() const; |
81 | 82 |
82 Editor& editor() const; | 83 Editor& editor() const; |
83 EventHandler& eventHandler() const; | 84 EventHandler& eventHandler() const; |
84 FrameLoader& loader() const; | 85 FrameLoader& loader() const; |
85 FrameTree& tree() const; | 86 FrameTree& tree() const; |
86 NavigationScheduler& navigationScheduler() const; | 87 NavigationScheduler& navigationScheduler() const; |
87 FrameSelection& selection() const; | 88 FrameSelection& selection() const; |
88 InputMethodController& inputMethodController() const; | 89 InputMethodController& inputMethodController() const; |
89 FetchContext& fetchContext() const { return loader().fetchContext(); } | 90 FetchContext& fetchContext() const { return loader().fetchContext(); } |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 { | 239 { |
239 ASSERT(m_eventHandler); | 240 ASSERT(m_eventHandler); |
240 return *m_eventHandler; | 241 return *m_eventHandler; |
241 } | 242 } |
242 | 243 |
243 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); | 244 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); |
244 | 245 |
245 } // namespace WebCore | 246 } // namespace WebCore |
246 | 247 |
247 #endif // LocalFrame_h | 248 #endif // LocalFrame_h |
OLD | NEW |