| 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 bool hasFilterInfo() const { return m_hasFilterInfo; } | 340 bool hasFilterInfo() const { return m_hasFilterInfo; } |
| 341 void setHasFilterInfo(bool hasFilterInfo) { m_hasFilterInfo = hasFilterInfo;
} | 341 void setHasFilterInfo(bool hasFilterInfo) { m_hasFilterInfo = hasFilterInfo;
} |
| 342 | 342 |
| 343 void updateFilters(const RenderStyle* oldStyle, const RenderStyle* newStyle)
; | 343 void updateFilters(const RenderStyle* oldStyle, const RenderStyle* newStyle)
; |
| 344 | 344 |
| 345 Node* enclosingElement() const; | 345 Node* enclosingElement() const; |
| 346 | 346 |
| 347 bool scrollsWithViewport() const; | 347 bool scrollsWithViewport() const; |
| 348 bool scrollsWithRespectTo(const RenderLayer*) const; | 348 bool scrollsWithRespectTo(const RenderLayer*) const; |
| 349 | 349 |
| 350 void addLayerHitTestRects(LayerHitTestRects&) const; | |
| 351 | |
| 352 // Compute rects only for this layer | |
| 353 void computeSelfHitTestRects(LayerHitTestRects&) const; | |
| 354 | |
| 355 // FIXME: This should probably return a ScrollableArea but a lot of internal
methods are mistakenly exposed. | 350 // FIXME: This should probably return a ScrollableArea but a lot of internal
methods are mistakenly exposed. |
| 356 RenderLayerScrollableArea* scrollableArea() const { return m_scrollableArea.
get(); } | 351 RenderLayerScrollableArea* scrollableArea() const { return m_scrollableArea.
get(); } |
| 357 RenderLayerRepainter& paintInvalidator() { return m_paintInvalidator; } | 352 RenderLayerRepainter& paintInvalidator() { return m_paintInvalidator; } |
| 358 RenderLayerClipper& clipper() { return m_clipper; } | 353 RenderLayerClipper& clipper() { return m_clipper; } |
| 359 const RenderLayerClipper& clipper() const { return m_clipper; } | 354 const RenderLayerClipper& clipper() const { return m_clipper; } |
| 360 | 355 |
| 361 inline bool isPositionedContainer() const | 356 inline bool isPositionedContainer() const |
| 362 { | 357 { |
| 363 // FIXME: This is not in sync with containingBlock. | 358 // FIXME: This is not in sync with containingBlock. |
| 364 RenderLayerModelObject* layerRenderer = renderer(); | 359 RenderLayerModelObject* layerRenderer = renderer(); |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 | 664 |
| 670 } // namespace blink | 665 } // namespace blink |
| 671 | 666 |
| 672 #ifndef NDEBUG | 667 #ifndef NDEBUG |
| 673 // Outside the WebCore namespace for ease of invocation from gdb. | 668 // Outside the WebCore namespace for ease of invocation from gdb. |
| 674 void showLayerTree(const blink::RenderLayer*); | 669 void showLayerTree(const blink::RenderLayer*); |
| 675 void showLayerTree(const blink::RenderObject*); | 670 void showLayerTree(const blink::RenderObject*); |
| 676 #endif | 671 #endif |
| 677 | 672 |
| 678 #endif // RenderLayer_h | 673 #endif // RenderLayer_h |
| OLD | NEW |