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 | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
8 reserved. | 8 reserved. |
9 | 9 |
10 This library is free software; you can redistribute it and/or | 10 This library is free software; you can redistribute it and/or |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 return m_viewportConstrainedObjects && | 227 return m_viewportConstrainedObjects && |
228 m_viewportConstrainedObjects->size() > 0; | 228 m_viewportConstrainedObjects->size() > 0; |
229 } | 229 } |
230 | 230 |
231 // Objects with background-attachment:fixed. | 231 // Objects with background-attachment:fixed. |
232 void addBackgroundAttachmentFixedObject(LayoutObject*); | 232 void addBackgroundAttachmentFixedObject(LayoutObject*); |
233 void removeBackgroundAttachmentFixedObject(LayoutObject*); | 233 void removeBackgroundAttachmentFixedObject(LayoutObject*); |
234 bool hasBackgroundAttachmentFixedObjects() const { | 234 bool hasBackgroundAttachmentFixedObjects() const { |
235 return m_backgroundAttachmentFixedObjects.size(); | 235 return m_backgroundAttachmentFixedObjects.size(); |
236 } | 236 } |
| 237 bool hasBackgroundAttachmentFixedDescendants(const LayoutObject&) const; |
237 void invalidateBackgroundAttachmentFixedObjects(); | 238 void invalidateBackgroundAttachmentFixedObjects(); |
238 | 239 |
239 void handleLoadCompleted(); | 240 void handleLoadCompleted(); |
240 | 241 |
241 void updateDocumentAnnotatedRegions() const; | 242 void updateDocumentAnnotatedRegions() const; |
242 | 243 |
243 void didAttachDocument(); | 244 void didAttachDocument(); |
244 | 245 |
245 void restoreScrollbar(); | 246 void restoreScrollbar(); |
246 | 247 |
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1149 widget.isFrameView()); | 1150 widget.isFrameView()); |
1150 DEFINE_TYPE_CASTS(FrameView, | 1151 DEFINE_TYPE_CASTS(FrameView, |
1151 ScrollableArea, | 1152 ScrollableArea, |
1152 scrollableArea, | 1153 scrollableArea, |
1153 scrollableArea->isFrameView(), | 1154 scrollableArea->isFrameView(), |
1154 scrollableArea.isFrameView()); | 1155 scrollableArea.isFrameView()); |
1155 | 1156 |
1156 } // namespace blink | 1157 } // namespace blink |
1157 | 1158 |
1158 #endif // FrameView_h | 1159 #endif // FrameView_h |
OLD | NEW |