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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 VisualRectFlags) const; | 132 VisualRectFlags) const; |
133 | 133 |
134 bool MapToVisualRectInAncestorSpaceInternal( | 134 bool MapToVisualRectInAncestorSpaceInternal( |
135 const LayoutBoxModelObject* ancestor, | 135 const LayoutBoxModelObject* ancestor, |
136 TransformState&, | 136 TransformState&, |
137 VisualRectFlags = kDefaultVisualRectFlags) const override; | 137 VisualRectFlags = kDefaultVisualRectFlags) const override; |
138 LayoutSize OffsetForFixedPosition(bool include_pending_scroll = false) const; | 138 LayoutSize OffsetForFixedPosition(bool include_pending_scroll = false) const; |
139 | 139 |
140 void InvalidatePaintForViewAndCompositedLayers(); | 140 void InvalidatePaintForViewAndCompositedLayers(); |
141 | 141 |
142 PaintInvalidationReason InvalidatePaintIfNeeded( | 142 PaintInvalidationReason InvalidatePaint( |
143 const PaintInvalidationState&) override; | 143 const PaintInvalidationState&) override; |
144 PaintInvalidationReason InvalidatePaintIfNeeded( | 144 PaintInvalidationReason InvalidatePaint( |
145 const PaintInvalidatorContext&) const override; | 145 const PaintInvalidatorContext&) const override; |
146 | 146 |
147 void Paint(const PaintInfo&, const LayoutPoint&) const override; | 147 void Paint(const PaintInfo&, const LayoutPoint&) const override; |
148 void PaintBoxDecorationBackground(const PaintInfo&, | 148 void PaintBoxDecorationBackground(const PaintInfo&, |
149 const LayoutPoint&) const override; | 149 const LayoutPoint&) const override; |
150 | 150 |
151 void ClearSelection(); | 151 void ClearSelection(); |
152 void CommitPendingSelection(); | 152 void CommitPendingSelection(); |
153 | 153 |
154 void AbsoluteRects(Vector<IntRect>&, | 154 void AbsoluteRects(Vector<IntRect>&, |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 unsigned hit_test_count_; | 298 unsigned hit_test_count_; |
299 unsigned hit_test_cache_hits_; | 299 unsigned hit_test_cache_hits_; |
300 Persistent<HitTestCache> hit_test_cache_; | 300 Persistent<HitTestCache> hit_test_cache_; |
301 }; | 301 }; |
302 | 302 |
303 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, IsLayoutView()); | 303 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, IsLayoutView()); |
304 | 304 |
305 } // namespace blink | 305 } // namespace blink |
306 | 306 |
307 #endif // LayoutView_h | 307 #endif // LayoutView_h |
OLD | NEW |