| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 95 |
| 96 void layout(bool allowSubtree = true); | 96 void layout(bool allowSubtree = true); |
| 97 bool didFirstLayout() const; | 97 bool didFirstLayout() const; |
| 98 void layoutTimerFired(Timer<FrameView>*); | 98 void layoutTimerFired(Timer<FrameView>*); |
| 99 void scheduleRelayout(); | 99 void scheduleRelayout(); |
| 100 void scheduleRelayoutOfSubtree(RenderObject*); | 100 void scheduleRelayoutOfSubtree(RenderObject*); |
| 101 void unscheduleRelayout(); | 101 void unscheduleRelayout(); |
| 102 bool layoutPending() const; | 102 bool layoutPending() const; |
| 103 bool isInLayout() const { return m_inLayout; } | 103 bool isInLayout() const { return m_inLayout; } |
| 104 | 104 |
| 105 void layoutLazyBlocks(); | |
| 106 | |
| 107 RenderObject* layoutRoot(bool onlyDuringLayout = false) const; | 105 RenderObject* layoutRoot(bool onlyDuringLayout = false) const; |
| 108 void clearLayoutRoot() { m_layoutRoot = 0; } | 106 void clearLayoutRoot() { m_layoutRoot = 0; } |
| 109 int layoutCount() const { return m_layoutCount; } | 107 int layoutCount() const { return m_layoutCount; } |
| 110 | 108 |
| 111 bool needsLayout() const; | 109 bool needsLayout() const; |
| 112 void setNeedsLayout(); | 110 void setNeedsLayout(); |
| 113 void setViewportConstrainedObjectsNeedLayout(); | 111 void setViewportConstrainedObjectsNeedLayout(); |
| 114 | 112 |
| 115 bool needsFullRepaint() const { return m_doFullRepaint; } | 113 bool needsFullRepaint() const { return m_doFullRepaint; } |
| 116 | 114 |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 ASSERT(!widget || widget->isFrameView()); | 571 ASSERT(!widget || widget->isFrameView()); |
| 574 return static_cast<const FrameView*>(widget); | 572 return static_cast<const FrameView*>(widget); |
| 575 } | 573 } |
| 576 | 574 |
| 577 // This will catch anyone doing an unnecessary cast. | 575 // This will catch anyone doing an unnecessary cast. |
| 578 void toFrameView(const FrameView*); | 576 void toFrameView(const FrameView*); |
| 579 | 577 |
| 580 } // namespace WebCore | 578 } // namespace WebCore |
| 581 | 579 |
| 582 #endif // FrameView_h | 580 #endif // FrameView_h |
| OLD | NEW |