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 10 matching lines...) Expand all Loading... |
21 * | 21 * |
22 * You should have received a copy of the GNU Library General Public License | 22 * You should have received a copy of the GNU Library General Public License |
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/css/StyleColor.h" |
31 #include "core/loader/FrameLoader.h" | 32 #include "core/loader/FrameLoader.h" |
32 #include "core/loader/NavigationScheduler.h" | 33 #include "core/loader/NavigationScheduler.h" |
33 #include "core/page/AdjustViewSizeOrNot.h" | 34 #include "core/page/AdjustViewSizeOrNot.h" |
34 #include "core/page/FrameTree.h" | 35 #include "core/page/FrameTree.h" |
35 #include "core/platform/ScrollTypes.h" | 36 #include "core/platform/ScrollTypes.h" |
36 #include "core/platform/graphics/IntSize.h" | 37 #include "core/platform/graphics/IntSize.h" |
37 #include "wtf/Forward.h" | 38 #include "wtf/Forward.h" |
38 #include "wtf/RefCounted.h" | 39 #include "wtf/RefCounted.h" |
39 | 40 |
40 namespace WebCore { | 41 namespace WebCore { |
(...skipping 21 matching lines...) Expand all Loading... |
62 class Settings; | 63 class Settings; |
63 class TreeScope; | 64 class TreeScope; |
64 class VisiblePosition; | 65 class VisiblePosition; |
65 | 66 |
66 class Frame : public RefCounted<Frame> { | 67 class Frame : public RefCounted<Frame> { |
67 public: | 68 public: |
68 static PassRefPtr<Frame> create(Page*, HTMLFrameOwnerElement*, FrameLoad
erClient*); | 69 static PassRefPtr<Frame> create(Page*, HTMLFrameOwnerElement*, FrameLoad
erClient*); |
69 | 70 |
70 void init(); | 71 void init(); |
71 void setView(PassRefPtr<FrameView>); | 72 void setView(PassRefPtr<FrameView>); |
72 void createView(const IntSize&, const Color&, bool, | 73 void createView(const IntSize&, const StyleColor&, bool, |
73 const IntSize& fixedLayoutSize = IntSize(), bool useFixedLayout = fa
lse, ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, | 74 const IntSize& fixedLayoutSize = IntSize(), bool useFixedLayout = fa
lse, ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, |
74 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); | 75 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); |
75 | 76 |
76 ~Frame(); | 77 ~Frame(); |
77 | 78 |
78 void addDestructionObserver(FrameDestructionObserver*); | 79 void addDestructionObserver(FrameDestructionObserver*); |
79 void removeDestructionObserver(FrameDestructionObserver*); | 80 void removeDestructionObserver(FrameDestructionObserver*); |
80 | 81 |
81 void willDetachPage(); | 82 void willDetachPage(); |
82 void detachFromPage(); | 83 void detachFromPage(); |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 } | 262 } |
262 | 263 |
263 inline EventHandler* Frame::eventHandler() const | 264 inline EventHandler* Frame::eventHandler() const |
264 { | 265 { |
265 return m_eventHandler.get(); | 266 return m_eventHandler.get(); |
266 } | 267 } |
267 | 268 |
268 } // namespace WebCore | 269 } // namespace WebCore |
269 | 270 |
270 #endif // Frame_h | 271 #endif // Frame_h |
OLD | NEW |