| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 enum { | 54 enum { |
| 55 LayerTreeFlagsIncludeDebugInfo = 1 << 0, | 55 LayerTreeFlagsIncludeDebugInfo = 1 << 0, |
| 56 LayerTreeFlagsIncludeVisibleRects = 1 << 1, | 56 LayerTreeFlagsIncludeVisibleRects = 1 << 1, |
| 57 LayerTreeFlagsIncludeTileCaches = 1 << 2, | 57 LayerTreeFlagsIncludeTileCaches = 1 << 2, |
| 58 LayerTreeFlagsIncludeRepaintRects = 1 << 3, | 58 LayerTreeFlagsIncludeRepaintRects = 1 << 3, |
| 59 LayerTreeFlagsIncludePaintingPhases = 1 << 4 | 59 LayerTreeFlagsIncludePaintingPhases = 1 << 4 |
| 60 }; | 60 }; |
| 61 typedef unsigned LayerTreeFlags; | 61 typedef unsigned LayerTreeFlags; |
| 62 | 62 |
| 63 void init(); |
| 64 |
| 63 class Frame : public RefCounted<Frame> { | 65 class Frame : public RefCounted<Frame> { |
| 64 public: | 66 public: |
| 65 static PassRefPtr<Frame> create(Page*, HTMLFrameOwnerElement*, FrameLoad
erClient*); | 67 static PassRefPtr<Frame> create(Page*, HTMLFrameOwnerElement*, FrameLoad
erClient*); |
| 66 | 68 |
| 67 void init(); | 69 void init(); |
| 68 void setView(PassRefPtr<FrameView>); | 70 void setView(PassRefPtr<FrameView>); |
| 69 void createView(const IntSize&, const Color&, bool, | 71 void createView(const IntSize&, const Color&, bool, |
| 70 const IntSize& fixedLayoutSize = IntSize(), const IntRect& fixedVisi
bleContentRect = IntRect(), | 72 const IntSize& fixedLayoutSize = IntSize(), const IntRect& fixedVisi
bleContentRect = IntRect(), |
| 71 bool useFixedLayout = false, ScrollbarMode = ScrollbarAuto, bool hor
izontalLock = false, | 73 bool useFixedLayout = false, ScrollbarMode = ScrollbarAuto, bool hor
izontalLock = false, |
| 72 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); | 74 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 } | 282 } |
| 281 | 283 |
| 282 inline EventHandler* Frame::eventHandler() const | 284 inline EventHandler* Frame::eventHandler() const |
| 283 { | 285 { |
| 284 return &m_eventHandler; | 286 return &m_eventHandler; |
| 285 } | 287 } |
| 286 | 288 |
| 287 } // namespace WebCore | 289 } // namespace WebCore |
| 288 | 290 |
| 289 #endif // Frame_h | 291 #endif // Frame_h |
| OLD | NEW |