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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 void updateWidgetGeometries(); | 223 void updateWidgetGeometries(); |
224 | 224 |
225 void addPartToUpdate(LayoutEmbeddedObject&); | 225 void addPartToUpdate(LayoutEmbeddedObject&); |
226 | 226 |
227 void setIsPainting(bool val) const { m_isPainting = val; } | 227 void setIsPainting(bool val) const { m_isPainting = val; } |
228 bool isPainting() const; | 228 bool isPainting() const; |
229 | 229 |
230 Color documentBackgroundColor() const; | 230 Color documentBackgroundColor() const; |
231 | 231 |
232 // Run all needed lifecycle stages. After calling this method, all frames wi
ll be in the lifecycle state PaintInvalidationClean. | 232 // Run all needed lifecycle stages. After calling this method, all frames wi
ll be in the lifecycle state PaintInvalidationClean. |
233 // If lifecycle throttling is allowed (see DocumentLifecycle::PreventThrottl
ingScope), some frames may skip the lifecycle update | 233 // If lifecycle throttling is allowed (see DocumentLifecycle::AllowThrottlin
gScope), some frames may skip the lifecycle update |
234 // (e.g., based on visibility) and will not end up being PaintInvalidationCl
ean. | 234 // (e.g., based on visibility) and will not end up being PaintInvalidationCl
ean. |
235 void updateAllLifecyclePhases(); | 235 void updateAllLifecyclePhases(); |
236 | 236 |
237 // Computes the style, layout and compositing lifecycle stages if needed. Af
ter calling this method, all frames will be in a lifecycle | 237 // Computes the style, layout and compositing lifecycle stages if needed. Af
ter calling this method, all frames will be in a lifecycle |
238 // state >= CompositingClean, and scrolling has been updated (unless throttl
ing is allowed). | 238 // state >= CompositingClean, and scrolling has been updated (unless throttl
ing is allowed). |
239 void updateLifecycleToCompositingCleanPlusScrolling(); | 239 void updateLifecycleToCompositingCleanPlusScrolling(); |
240 | 240 |
241 // Computes only the style and layout lifecycle stages. | 241 // Computes only the style and layout lifecycle stages. |
242 // After calling this method, all frames will be in a lifecycle state >= Lay
outClean (unless throttling is allowed). | 242 // After calling this method, all frames will be in a lifecycle state >= Lay
outClean (unless throttling is allowed). |
243 void updateLifecycleToLayoutClean(); | 243 void updateLifecycleToLayoutClean(); |
(...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 934 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
935 setIsVisuallyNonEmpty(); | 935 setIsVisuallyNonEmpty(); |
936 } | 936 } |
937 | 937 |
938 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 938 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
939 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); | 939 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); |
940 | 940 |
941 } // namespace blink | 941 } // namespace blink |
942 | 942 |
943 #endif // FrameView_h | 943 #endif // FrameView_h |
OLD | NEW |