| 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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 DeprecatedPaintLayerFilterInfo::removeFilterInfoForLayer(this); | 386 DeprecatedPaintLayerFilterInfo::removeFilterInfoForLayer(this); |
| 387 } | 387 } |
| 388 | 388 |
| 389 bool hasFilterInfo() const { return m_hasFilterInfo; } | 389 bool hasFilterInfo() const { return m_hasFilterInfo; } |
| 390 void setHasFilterInfo(bool hasFilterInfo) { m_hasFilterInfo = hasFilterInfo;
} | 390 void setHasFilterInfo(bool hasFilterInfo) { m_hasFilterInfo = hasFilterInfo;
} |
| 391 | 391 |
| 392 void updateFilters(const ComputedStyle* oldStyle, const ComputedStyle& newSt
yle); | 392 void updateFilters(const ComputedStyle* oldStyle, const ComputedStyle& newSt
yle); |
| 393 | 393 |
| 394 Node* enclosingElement() const; | 394 Node* enclosingElement() const; |
| 395 | 395 |
| 396 bool isInTopLayer() const; |
| 397 |
| 396 bool scrollsWithViewport() const; | 398 bool scrollsWithViewport() const; |
| 397 bool scrollsWithRespectTo(const DeprecatedPaintLayer*) const; | 399 bool scrollsWithRespectTo(const DeprecatedPaintLayer*) const; |
| 398 | 400 |
| 399 void addLayerHitTestRects(LayerHitTestRects&) const; | 401 void addLayerHitTestRects(LayerHitTestRects&) const; |
| 400 | 402 |
| 401 // Compute rects only for this layer | 403 // Compute rects only for this layer |
| 402 void computeSelfHitTestRects(LayerHitTestRects&) const; | 404 void computeSelfHitTestRects(LayerHitTestRects&) const; |
| 403 | 405 |
| 404 // FIXME: This should probably return a ScrollableArea but a lot of internal
methods are mistakenly exposed. | 406 // FIXME: This should probably return a ScrollableArea but a lot of internal
methods are mistakenly exposed. |
| 405 DeprecatedPaintLayerScrollableArea* scrollableArea() const { return m_scroll
ableArea.get(); } | 407 DeprecatedPaintLayerScrollableArea* scrollableArea() const { return m_scroll
ableArea.get(); } |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 | 752 |
| 751 } // namespace blink | 753 } // namespace blink |
| 752 | 754 |
| 753 #ifndef NDEBUG | 755 #ifndef NDEBUG |
| 754 // Outside the WebCore namespace for ease of invocation from gdb. | 756 // Outside the WebCore namespace for ease of invocation from gdb. |
| 755 void showLayerTree(const blink::DeprecatedPaintLayer*); | 757 void showLayerTree(const blink::DeprecatedPaintLayer*); |
| 756 void showLayerTree(const blink::LayoutObject*); | 758 void showLayerTree(const blink::LayoutObject*); |
| 757 #endif | 759 #endif |
| 758 | 760 |
| 759 #endif // Layer_h | 761 #endif // Layer_h |
| OLD | NEW |