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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 RenderView* renderView() const; | 78 RenderView* renderView() const; |
79 | 79 |
80 virtual void setCanHaveScrollbars(bool) OVERRIDE; | 80 virtual void setCanHaveScrollbars(bool) OVERRIDE; |
81 | 81 |
82 virtual PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation) OVERRIDE
; | 82 virtual PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation) OVERRIDE
; |
83 | 83 |
84 virtual void setContentsSize(const IntSize&) OVERRIDE; | 84 virtual void setContentsSize(const IntSize&) OVERRIDE; |
85 | 85 |
86 void layout(bool allowSubtree = true); | 86 void layout(bool allowSubtree = true); |
87 bool didFirstLayout() const; | 87 bool didFirstLayout() const; |
88 void layoutTimerFired(Timer<FrameView>*); | |
89 void scheduleRelayout(); | 88 void scheduleRelayout(); |
90 void scheduleRelayoutOfSubtree(RenderObject*); | 89 void scheduleRelayoutOfSubtree(RenderObject*); |
91 void unscheduleRelayout(); | 90 void unscheduleRelayout(); |
92 bool layoutPending() const; | 91 bool layoutPending() const; |
93 bool isInPerformLayout() const { return m_inPerformLayout; } | 92 bool isInPerformLayout() const { return m_inPerformLayout; } |
94 | 93 |
95 void setCanRepaintDuringPerformLayout(bool b) { m_canRepaintDuringPerformLay
out = b; } | 94 void setCanRepaintDuringPerformLayout(bool b) { m_canRepaintDuringPerformLay
out = b; } |
96 bool canRepaintDuringPerformLayout() const { return m_canRepaintDuringPerfor
mLayout; } | 95 bool canRepaintDuringPerformLayout() const { return m_canRepaintDuringPerfor
mLayout; } |
97 | 96 |
98 RenderObject* layoutRoot(bool onlyDuringLayout = false) const; | 97 RenderObject* layoutRoot(bool onlyDuringLayout = false) const; |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 RefPtr<Frame> m_frame; | 435 RefPtr<Frame> m_frame; |
437 | 436 |
438 bool m_doFullRepaint; | 437 bool m_doFullRepaint; |
439 | 438 |
440 bool m_canHaveScrollbars; | 439 bool m_canHaveScrollbars; |
441 bool m_cannotBlitToWindow; | 440 bool m_cannotBlitToWindow; |
442 bool m_isOverlapped; | 441 bool m_isOverlapped; |
443 bool m_contentIsOpaque; | 442 bool m_contentIsOpaque; |
444 unsigned m_slowRepaintObjectCount; | 443 unsigned m_slowRepaintObjectCount; |
445 | 444 |
446 Timer<FrameView> m_layoutTimer; | 445 bool m_hasPendingLayout; |
447 bool m_delayedLayout; | 446 bool m_delayedLayout; |
448 RenderObject* m_layoutSubtreeRoot; | 447 RenderObject* m_layoutSubtreeRoot; |
449 | 448 |
450 bool m_layoutSchedulingEnabled; | 449 bool m_layoutSchedulingEnabled; |
451 bool m_inPerformLayout; | 450 bool m_inPerformLayout; |
452 bool m_canRepaintDuringPerformLayout; | 451 bool m_canRepaintDuringPerformLayout; |
453 bool m_doingPreLayoutStyleUpdate; | 452 bool m_doingPreLayoutStyleUpdate; |
454 bool m_inSynchronousPostLayout; | 453 bool m_inSynchronousPostLayout; |
455 int m_layoutCount; | 454 int m_layoutCount; |
456 unsigned m_nestedLayoutCount; | 455 unsigned m_nestedLayoutCount; |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 m_view->setCanRepaintDuringPerformLayout(m_originalValue); | 568 m_view->setCanRepaintDuringPerformLayout(m_originalValue); |
570 } | 569 } |
571 private: | 570 private: |
572 FrameView* m_view; | 571 FrameView* m_view; |
573 bool m_originalValue; | 572 bool m_originalValue; |
574 }; | 573 }; |
575 | 574 |
576 } // namespace WebCore | 575 } // namespace WebCore |
577 | 576 |
578 #endif // FrameView_h | 577 #endif // FrameView_h |
OLD | NEW |