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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 void setContentsSize(const IntSize&); | 101 void setContentsSize(const IntSize&); |
102 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const; | 102 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const; |
103 | 103 |
104 void layout(); | 104 void layout(); |
105 bool didFirstLayout() const; | 105 bool didFirstLayout() const; |
106 void scheduleRelayout(); | 106 void scheduleRelayout(); |
107 void scheduleRelayoutOfSubtree(LayoutObject*); | 107 void scheduleRelayoutOfSubtree(LayoutObject*); |
108 bool layoutPending() const; | 108 bool layoutPending() const; |
109 bool isInPerformLayout() const; | 109 bool isInPerformLayout() const; |
110 | 110 |
111 bool isLayoutRoot(const LayoutObject&) const; | |
112 void clearLayoutSubtreeRoot(const LayoutObject&); | 111 void clearLayoutSubtreeRoot(const LayoutObject&); |
113 int layoutCount() const { return m_layoutCount; } | 112 int layoutCount() const { return m_layoutCount; } |
114 | 113 |
115 void countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& total
Objects, bool& isPartial); | 114 void countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& total
Objects, bool& isPartial); |
116 | 115 |
117 bool needsLayout() const; | 116 bool needsLayout() const; |
118 void setNeedsLayout(); | 117 void setNeedsLayout(); |
119 | 118 |
120 void setNeedsUpdateWidgetPositions() { m_needsUpdateWidgetPositions = true;
} | 119 void setNeedsUpdateWidgetPositions() { m_needsUpdateWidgetPositions = true;
} |
121 | 120 |
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 static const unsigned visualPixelThreshold = 32 * 32; | 866 static const unsigned visualPixelThreshold = 32 * 32; |
868 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 867 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
869 setIsVisuallyNonEmpty(); | 868 setIsVisuallyNonEmpty(); |
870 } | 869 } |
871 | 870 |
872 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 871 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
873 | 872 |
874 } // namespace blink | 873 } // namespace blink |
875 | 874 |
876 #endif // FrameView_h | 875 #endif // FrameView_h |
OLD | NEW |