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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 RefPtr<Frame> m_frame; | 429 RefPtr<Frame> m_frame; |
431 | 430 |
432 bool m_doFullRepaint; | 431 bool m_doFullRepaint; |
433 | 432 |
434 bool m_canHaveScrollbars; | 433 bool m_canHaveScrollbars; |
435 bool m_cannotBlitToWindow; | 434 bool m_cannotBlitToWindow; |
436 bool m_isOverlapped; | 435 bool m_isOverlapped; |
437 bool m_contentIsOpaque; | 436 bool m_contentIsOpaque; |
438 unsigned m_slowRepaintObjectCount; | 437 unsigned m_slowRepaintObjectCount; |
439 | 438 |
440 Timer<FrameView> m_layoutTimer; | 439 bool m_hasPendingLayout; |
441 bool m_delayedLayout; | 440 bool m_delayedLayout; |
442 RenderObject* m_layoutSubtreeRoot; | 441 RenderObject* m_layoutSubtreeRoot; |
443 | 442 |
444 bool m_layoutSchedulingEnabled; | 443 bool m_layoutSchedulingEnabled; |
445 bool m_inPerformLayout; | 444 bool m_inPerformLayout; |
446 bool m_canRepaintDuringPerformLayout; | 445 bool m_canRepaintDuringPerformLayout; |
447 bool m_doingPreLayoutStyleUpdate; | 446 bool m_doingPreLayoutStyleUpdate; |
448 bool m_inSynchronousPostLayout; | 447 bool m_inSynchronousPostLayout; |
449 int m_layoutCount; | 448 int m_layoutCount; |
450 unsigned m_nestedLayoutCount; | 449 unsigned m_nestedLayoutCount; |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 m_view->setCanRepaintDuringPerformLayout(m_originalValue); | 562 m_view->setCanRepaintDuringPerformLayout(m_originalValue); |
564 } | 563 } |
565 private: | 564 private: |
566 FrameView* m_view; | 565 FrameView* m_view; |
567 bool m_originalValue; | 566 bool m_originalValue; |
568 }; | 567 }; |
569 | 568 |
570 } // namespace WebCore | 569 } // namespace WebCore |
571 | 570 |
572 #endif // FrameView_h | 571 #endif // FrameView_h |
OLD | NEW |