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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 scheduleRelayout(); | 88 void scheduleRelayout(); |
89 void scheduleRelayoutOfSubtree(RenderObject*); | 89 void scheduleRelayoutOfSubtree(RenderObject*); |
90 void unscheduleRelayout(); | |
91 bool layoutPending() const; | 90 bool layoutPending() const; |
92 bool isInPerformLayout() const { return m_inPerformLayout; } | 91 bool isInPerformLayout() const { return m_inPerformLayout; } |
93 | 92 |
94 void setCanRepaintDuringPerformLayout(bool b) { m_canRepaintDuringPerformLay
out = b; } | 93 void setCanRepaintDuringPerformLayout(bool b) { m_canRepaintDuringPerformLay
out = b; } |
95 bool canRepaintDuringPerformLayout() const { return m_canRepaintDuringPerfor
mLayout; } | 94 bool canRepaintDuringPerformLayout() const { return m_canRepaintDuringPerfor
mLayout; } |
96 | 95 |
97 RenderObject* layoutRoot(bool onlyDuringLayout = false) const; | 96 RenderObject* layoutRoot(bool onlyDuringLayout = false) const; |
98 void clearLayoutSubtreeRoot() { m_layoutSubtreeRoot = 0; } | 97 void clearLayoutSubtreeRoot() { m_layoutSubtreeRoot = 0; } |
99 int layoutCount() const { return m_layoutCount; } | 98 int layoutCount() const { return m_layoutCount; } |
100 | 99 |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 bool m_hasPendingLayout; | 439 bool m_hasPendingLayout; |
441 bool m_delayedLayout; | |
442 RenderObject* m_layoutSubtreeRoot; | 440 RenderObject* m_layoutSubtreeRoot; |
443 | 441 |
444 bool m_layoutSchedulingEnabled; | 442 bool m_layoutSchedulingEnabled; |
445 bool m_inPerformLayout; | 443 bool m_inPerformLayout; |
446 bool m_canRepaintDuringPerformLayout; | 444 bool m_canRepaintDuringPerformLayout; |
447 bool m_doingPreLayoutStyleUpdate; | 445 bool m_doingPreLayoutStyleUpdate; |
448 bool m_inSynchronousPostLayout; | 446 bool m_inSynchronousPostLayout; |
449 int m_layoutCount; | 447 int m_layoutCount; |
450 unsigned m_nestedLayoutCount; | 448 unsigned m_nestedLayoutCount; |
451 Timer<FrameView> m_postLayoutTasksTimer; | 449 Timer<FrameView> m_postLayoutTasksTimer; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 m_view->setCanRepaintDuringPerformLayout(m_originalValue); | 561 m_view->setCanRepaintDuringPerformLayout(m_originalValue); |
564 } | 562 } |
565 private: | 563 private: |
566 FrameView* m_view; | 564 FrameView* m_view; |
567 bool m_originalValue; | 565 bool m_originalValue; |
568 }; | 566 }; |
569 | 567 |
570 } // namespace WebCore | 568 } // namespace WebCore |
571 | 569 |
572 #endif // FrameView_h | 570 #endif // FrameView_h |
OLD | NEW |