| 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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 { | 433 { |
| 434 if (hasFilterInfo()) | 434 if (hasFilterInfo()) |
| 435 PaintLayerFilterInfo::removeFilterInfoForLayer(this); | 435 PaintLayerFilterInfo::removeFilterInfoForLayer(this); |
| 436 } | 436 } |
| 437 | 437 |
| 438 bool hasFilterInfo() const { return m_hasFilterInfo; } | 438 bool hasFilterInfo() const { return m_hasFilterInfo; } |
| 439 void setHasFilterInfo(bool hasFilterInfo) { m_hasFilterInfo = hasFilterInfo;
} | 439 void setHasFilterInfo(bool hasFilterInfo) { m_hasFilterInfo = hasFilterInfo;
} |
| 440 | 440 |
| 441 void updateFilters(const ComputedStyle* oldStyle, const ComputedStyle& newSt
yle); | 441 void updateFilters(const ComputedStyle* oldStyle, const ComputedStyle& newSt
yle); |
| 442 | 442 |
| 443 Node* enclosingElement() const; | 443 Node* enclosingNode() const; |
| 444 | 444 |
| 445 bool isInTopLayer() const; | 445 bool isInTopLayer() const; |
| 446 | 446 |
| 447 bool scrollsWithViewport() const; | 447 bool scrollsWithViewport() const; |
| 448 bool scrollsWithRespectTo(const PaintLayer*) const; | 448 bool scrollsWithRespectTo(const PaintLayer*) const; |
| 449 | 449 |
| 450 void addLayerHitTestRects(LayerHitTestRects&) const; | 450 void addLayerHitTestRects(LayerHitTestRects&) const; |
| 451 | 451 |
| 452 // Compute rects only for this layer | 452 // Compute rects only for this layer |
| 453 void computeSelfHitTestRects(LayerHitTestRects&) const; | 453 void computeSelfHitTestRects(LayerHitTestRects&) const; |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 | 816 |
| 817 } // namespace blink | 817 } // namespace blink |
| 818 | 818 |
| 819 #ifndef NDEBUG | 819 #ifndef NDEBUG |
| 820 // Outside the WebCore namespace for ease of invocation from gdb. | 820 // Outside the WebCore namespace for ease of invocation from gdb. |
| 821 void showLayerTree(const blink::PaintLayer*); | 821 void showLayerTree(const blink::PaintLayer*); |
| 822 void showLayerTree(const blink::LayoutObject*); | 822 void showLayerTree(const blink::LayoutObject*); |
| 823 #endif | 823 #endif |
| 824 | 824 |
| 825 #endif // Layer_h | 825 #endif // Layer_h |
| OLD | NEW |