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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 void setContentsSize(const IntSize&); | 113 void setContentsSize(const IntSize&); |
114 | 114 |
115 void layout(); | 115 void layout(); |
116 bool didFirstLayout() const; | 116 bool didFirstLayout() const; |
117 void scheduleRelayout(); | 117 void scheduleRelayout(); |
118 void scheduleRelayoutOfSubtree(LayoutObject*); | 118 void scheduleRelayoutOfSubtree(LayoutObject*); |
119 bool layoutPending() const; | 119 bool layoutPending() const; |
120 bool isInPerformLayout() const; | 120 bool isInPerformLayout() const; |
121 | 121 |
122 void clearLayoutSubtreeRoot(const LayoutObject&); | 122 void clearLayoutSubtreeRoot(const LayoutObject&); |
| 123 void addOrthogonalWritingModeRoot(LayoutBox&); |
| 124 void removeOrthogonalWritingModeRoot(LayoutBox&); |
| 125 bool hasOrthogonalWritingModeRoots() const; |
| 126 void layoutOrthogonalWritingModeRoots(); |
123 int layoutCount() const { return m_layoutCount; } | 127 int layoutCount() const { return m_layoutCount; } |
124 | 128 |
125 void countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& total
Objects, bool& isPartial); | 129 void countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& total
Objects, bool& isPartial); |
126 | 130 |
127 bool needsLayout() const; | 131 bool needsLayout() const; |
128 void setNeedsLayout(); | 132 void setNeedsLayout(); |
129 | 133 |
130 void setNeedsUpdateWidgetGeometries() { m_needsUpdateWidgetGeometries = true
; } | 134 void setNeedsUpdateWidgetGeometries() { m_needsUpdateWidgetGeometries = true
; } |
131 | 135 |
132 // Methods for getting/setting the size Blink should use to layout the conte
nts. | 136 // Methods for getting/setting the size Blink should use to layout the conte
nts. |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
774 RefPtrWillBeMember<LocalFrame> m_frame; | 778 RefPtrWillBeMember<LocalFrame> m_frame; |
775 | 779 |
776 WebDisplayMode m_displayMode; | 780 WebDisplayMode m_displayMode; |
777 | 781 |
778 bool m_doFullPaintInvalidation; | 782 bool m_doFullPaintInvalidation; |
779 | 783 |
780 bool m_canHaveScrollbars; | 784 bool m_canHaveScrollbars; |
781 | 785 |
782 bool m_hasPendingLayout; | 786 bool m_hasPendingLayout; |
783 LayoutSubtreeRootList m_layoutSubtreeRootList; | 787 LayoutSubtreeRootList m_layoutSubtreeRootList; |
| 788 DepthOrderedLayoutObjectList m_orthogonalWritingModeRootList; |
784 | 789 |
785 bool m_layoutSchedulingEnabled; | 790 bool m_layoutSchedulingEnabled; |
786 bool m_inSynchronousPostLayout; | 791 bool m_inSynchronousPostLayout; |
787 int m_layoutCount; | 792 int m_layoutCount; |
788 unsigned m_nestedLayoutCount; | 793 unsigned m_nestedLayoutCount; |
789 Timer<FrameView> m_postLayoutTasksTimer; | 794 Timer<FrameView> m_postLayoutTasksTimer; |
790 Timer<FrameView> m_updateWidgetsTimer; | 795 Timer<FrameView> m_updateWidgetsTimer; |
791 OwnPtr<CancellableTaskFactory> m_renderThrottlingObserverNotificationFactory
; | 796 OwnPtr<CancellableTaskFactory> m_renderThrottlingObserverNotificationFactory
; |
792 | 797 |
793 bool m_firstLayout; | 798 bool m_firstLayout; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
920 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 925 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
921 setIsVisuallyNonEmpty(); | 926 setIsVisuallyNonEmpty(); |
922 } | 927 } |
923 | 928 |
924 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 929 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
925 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); | 930 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); |
926 | 931 |
927 } // namespace blink | 932 } // namespace blink |
928 | 933 |
929 #endif // FrameView_h | 934 #endif // FrameView_h |
OLD | NEW |