| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 6 * | 6 * |
| 7 * Other contributors: | 7 * Other contributors: |
| 8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
| 10 * Christian Biesinger <cbiesinger@web.de> | 10 * Christian Biesinger <cbiesinger@web.de> |
| (...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 | 608 |
| 609 void updateFilters(const ComputedStyle* oldStyle, | 609 void updateFilters(const ComputedStyle* oldStyle, |
| 610 const ComputedStyle& newStyle); | 610 const ComputedStyle& newStyle); |
| 611 void updateClipPath(const ComputedStyle* oldStyle, | 611 void updateClipPath(const ComputedStyle* oldStyle, |
| 612 const ComputedStyle& newStyle); | 612 const ComputedStyle& newStyle); |
| 613 | 613 |
| 614 Node* enclosingNode() const; | 614 Node* enclosingNode() const; |
| 615 | 615 |
| 616 bool isInTopLayer() const; | 616 bool isInTopLayer() const; |
| 617 | 617 |
| 618 bool sticksToViewport() const; | 618 bool sticksToScroller() const; |
| 619 bool fixedToViewport() const; |
| 619 bool scrollsWithRespectTo(const PaintLayer*) const; | 620 bool scrollsWithRespectTo(const PaintLayer*) const; |
| 620 | 621 |
| 621 void addLayerHitTestRects(LayerHitTestRects&) const; | 622 void addLayerHitTestRects(LayerHitTestRects&) const; |
| 622 | 623 |
| 623 // Compute rects only for this layer | 624 // Compute rects only for this layer |
| 624 void computeSelfHitTestRects(LayerHitTestRects&) const; | 625 void computeSelfHitTestRects(LayerHitTestRects&) const; |
| 625 | 626 |
| 626 // FIXME: This should probably return a ScrollableArea but a lot of internal | 627 // FIXME: This should probably return a ScrollableArea but a lot of internal |
| 627 // methods are mistakenly exposed. | 628 // methods are mistakenly exposed. |
| 628 PaintLayerScrollableArea* getScrollableArea() const { | 629 PaintLayerScrollableArea* getScrollableArea() const { |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1254 | 1255 |
| 1255 } // namespace blink | 1256 } // namespace blink |
| 1256 | 1257 |
| 1257 #ifndef NDEBUG | 1258 #ifndef NDEBUG |
| 1258 // Outside the WebCore namespace for ease of invocation from gdb. | 1259 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1259 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); | 1260 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); |
| 1260 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); | 1261 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); |
| 1261 #endif | 1262 #endif |
| 1262 | 1263 |
| 1263 #endif // Layer_h | 1264 #endif // Layer_h |
| OLD | NEW |