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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 WebDisplayMode displayMode() { return m_displayMode; } | 203 WebDisplayMode displayMode() { return m_displayMode; } |
204 void setDisplayMode(WebDisplayMode); | 204 void setDisplayMode(WebDisplayMode); |
205 | 205 |
206 // Fixed-position objects. | 206 // Fixed-position objects. |
207 typedef HashSet<LayoutObject*> ViewportConstrainedObjectSet; | 207 typedef HashSet<LayoutObject*> ViewportConstrainedObjectSet; |
208 void addViewportConstrainedObject(LayoutObject*); | 208 void addViewportConstrainedObject(LayoutObject*); |
209 void removeViewportConstrainedObject(LayoutObject*); | 209 void removeViewportConstrainedObject(LayoutObject*); |
210 const ViewportConstrainedObjectSet* viewportConstrainedObjects() const { ret
urn m_viewportConstrainedObjects.get(); } | 210 const ViewportConstrainedObjectSet* viewportConstrainedObjects() const { ret
urn m_viewportConstrainedObjects.get(); } |
211 bool hasViewportConstrainedObjects() const { return m_viewportConstrainedObj
ects && m_viewportConstrainedObjects->size() > 0; } | 211 bool hasViewportConstrainedObjects() const { return m_viewportConstrainedObj
ects && m_viewportConstrainedObjects->size() > 0; } |
212 | 212 |
213 // Sticky objects. | |
214 void addStickyPositionObject() { ++m_stickyPositionObjectCount; } | |
215 void removeStickyPositionObject() { --m_stickyPositionObjectCount; } | |
216 bool hasStickyPositionObjects() const { return m_stickyPositionObjectCount;
} | |
217 | |
218 // Objects with background-attachment:fixed. | 213 // Objects with background-attachment:fixed. |
219 void addBackgroundAttachmentFixedObject(LayoutObject*); | 214 void addBackgroundAttachmentFixedObject(LayoutObject*); |
220 void removeBackgroundAttachmentFixedObject(LayoutObject*); | 215 void removeBackgroundAttachmentFixedObject(LayoutObject*); |
221 bool hasBackgroundAttachmentFixedObjects() const { return m_backgroundAttach
mentFixedObjects.size(); } | 216 bool hasBackgroundAttachmentFixedObjects() const { return m_backgroundAttach
mentFixedObjects.size(); } |
222 void invalidateBackgroundAttachmentFixedObjects(); | 217 void invalidateBackgroundAttachmentFixedObjects(); |
223 | 218 |
224 void handleLoadCompleted(); | 219 void handleLoadCompleted(); |
225 | 220 |
226 void updateDocumentAnnotatedRegions() const; | 221 void updateDocumentAnnotatedRegions() const; |
227 | 222 |
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 977 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
983 setIsVisuallyNonEmpty(); | 978 setIsVisuallyNonEmpty(); |
984 } | 979 } |
985 | 980 |
986 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 981 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
987 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); | 982 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); |
988 | 983 |
989 } // namespace blink | 984 } // namespace blink |
990 | 985 |
991 #endif // FrameView_h | 986 #endif // FrameView_h |
OLD | NEW |