| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) |
| 3 (C) 1998 Waldo Bastian (bastian@kde.org) | 3 (C) 1998 Waldo Bastian (bastian@kde.org) |
| 4 (C) 1998, 1999 Torben Weis (weis@kde.org) | 4 (C) 1998, 1999 Torben Weis (weis@kde.org) |
| 5 (C) 1999 Lars Knoll (knoll@kde.org) | 5 (C) 1999 Lars Knoll (knoll@kde.org) |
| 6 (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
| 8 | 8 |
| 9 This library is free software; you can redistribute it and/or | 9 This library is free software; you can redistribute it and/or |
| 10 modify it under the terms of the GNU Library General Public | 10 modify it under the terms of the GNU Library General Public |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 97 |
| 98 void layout(bool allowSubtree = true); | 98 void layout(bool allowSubtree = true); |
| 99 bool didFirstLayout() const; | 99 bool didFirstLayout() const; |
| 100 void layoutTimerFired(Timer<FrameView>*); | 100 void layoutTimerFired(Timer<FrameView>*); |
| 101 void scheduleRelayout(); | 101 void scheduleRelayout(); |
| 102 void scheduleRelayoutOfSubtree(RenderObject*); | 102 void scheduleRelayoutOfSubtree(RenderObject*); |
| 103 void unscheduleRelayout(); | 103 void unscheduleRelayout(); |
| 104 bool layoutPending() const; | 104 bool layoutPending() const; |
| 105 bool isInLayout() const { return m_inLayout; } | 105 bool isInLayout() const { return m_inLayout; } |
| 106 | 106 |
| 107 void layoutLazyBlocks(); |
| 108 |
| 107 RenderObject* layoutRoot(bool onlyDuringLayout = false) const; | 109 RenderObject* layoutRoot(bool onlyDuringLayout = false) const; |
| 108 void clearLayoutRoot() { m_layoutRoot = 0; } | 110 void clearLayoutRoot() { m_layoutRoot = 0; } |
| 109 int layoutCount() const { return m_layoutCount; } | 111 int layoutCount() const { return m_layoutCount; } |
| 110 | 112 |
| 111 bool needsLayout() const; | 113 bool needsLayout() const; |
| 112 void setNeedsLayout(); | 114 void setNeedsLayout(); |
| 113 void setViewportConstrainedObjectsNeedLayout(); | 115 void setViewportConstrainedObjectsNeedLayout(); |
| 114 | 116 |
| 115 bool needsFullRepaint() const { return m_doFullRepaint; } | 117 bool needsFullRepaint() const { return m_doFullRepaint; } |
| 116 | 118 |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 ASSERT(!widget || widget->isFrameView()); | 593 ASSERT(!widget || widget->isFrameView()); |
| 592 return static_cast<const FrameView*>(widget); | 594 return static_cast<const FrameView*>(widget); |
| 593 } | 595 } |
| 594 | 596 |
| 595 // This will catch anyone doing an unnecessary cast. | 597 // This will catch anyone doing an unnecessary cast. |
| 596 void toFrameView(const FrameView*); | 598 void toFrameView(const FrameView*); |
| 597 | 599 |
| 598 } // namespace WebCore | 600 } // namespace WebCore |
| 599 | 601 |
| 600 #endif // FrameView_h | 602 #endif // FrameView_h |
| OLD | NEW |