OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 MapCoordinatesFlags, | 122 MapCoordinatesFlags, |
123 VisualRectFlags) const; | 123 VisualRectFlags) const; |
124 bool mapToVisualRectInAncestorSpace( | 124 bool mapToVisualRectInAncestorSpace( |
125 const LayoutBoxModelObject* ancestor, | 125 const LayoutBoxModelObject* ancestor, |
126 LayoutRect&, | 126 LayoutRect&, |
127 VisualRectFlags = DefaultVisualRectFlags) const override; | 127 VisualRectFlags = DefaultVisualRectFlags) const override; |
128 LayoutSize offsetForFixedPosition(bool includePendingScroll = false) const; | 128 LayoutSize offsetForFixedPosition(bool includePendingScroll = false) const; |
129 | 129 |
130 void invalidatePaintForViewAndCompositedLayers(); | 130 void invalidatePaintForViewAndCompositedLayers(); |
131 | 131 |
| 132 PaintInvalidationReason invalidatePaintIfNeeded( |
| 133 const PaintInvalidationState&) override; |
| 134 PaintInvalidationReason invalidatePaintIfNeeded( |
| 135 const PaintInvalidatorContext&) const override; |
| 136 |
132 void paint(const PaintInfo&, const LayoutPoint&) const override; | 137 void paint(const PaintInfo&, const LayoutPoint&) const override; |
133 void paintBoxDecorationBackground(const PaintInfo&, | 138 void paintBoxDecorationBackground(const PaintInfo&, |
134 const LayoutPoint&) const override; | 139 const LayoutPoint&) const override; |
135 | 140 |
136 enum SelectionPaintInvalidationMode { | 141 enum SelectionPaintInvalidationMode { |
137 PaintInvalidationNewXOROld, | 142 PaintInvalidationNewXOROld, |
138 PaintInvalidationNewMinusOld | 143 PaintInvalidationNewMinusOld |
139 }; | 144 }; |
140 void setSelection( | 145 void setSelection( |
141 LayoutObject* start, | 146 LayoutObject* start, |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 unsigned m_hitTestCount; | 318 unsigned m_hitTestCount; |
314 unsigned m_hitTestCacheHits; | 319 unsigned m_hitTestCacheHits; |
315 Persistent<HitTestCache> m_hitTestCache; | 320 Persistent<HitTestCache> m_hitTestCache; |
316 }; | 321 }; |
317 | 322 |
318 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); | 323 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); |
319 | 324 |
320 } // namespace blink | 325 } // namespace blink |
321 | 326 |
322 #endif // LayoutView_h | 327 #endif // LayoutView_h |
OLD | NEW |