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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 DeprecatedPaintLayerFilterInfo::removeFilterInfoForLayer(this); | 361 DeprecatedPaintLayerFilterInfo::removeFilterInfoForLayer(this); |
362 } | 362 } |
363 | 363 |
364 bool hasFilterInfo() const { return m_hasFilterInfo; } | 364 bool hasFilterInfo() const { return m_hasFilterInfo; } |
365 void setHasFilterInfo(bool hasFilterInfo) { m_hasFilterInfo = hasFilterInfo;
} | 365 void setHasFilterInfo(bool hasFilterInfo) { m_hasFilterInfo = hasFilterInfo;
} |
366 | 366 |
367 void updateFilters(const ComputedStyle* oldStyle, const ComputedStyle& newSt
yle); | 367 void updateFilters(const ComputedStyle* oldStyle, const ComputedStyle& newSt
yle); |
368 | 368 |
369 Node* enclosingElement() const; | 369 Node* enclosingElement() const; |
370 | 370 |
371 bool isInTopLayer() const; | |
372 | |
373 bool scrollsWithViewport() const; | 371 bool scrollsWithViewport() const; |
374 bool scrollsWithRespectTo(const DeprecatedPaintLayer*) const; | 372 bool scrollsWithRespectTo(const DeprecatedPaintLayer*) const; |
375 | 373 |
376 void addLayerHitTestRects(LayerHitTestRects&) const; | 374 void addLayerHitTestRects(LayerHitTestRects&) const; |
377 | 375 |
378 // Compute rects only for this layer | 376 // Compute rects only for this layer |
379 void computeSelfHitTestRects(LayerHitTestRects&) const; | 377 void computeSelfHitTestRects(LayerHitTestRects&) const; |
380 | 378 |
381 // FIXME: This should probably return a ScrollableArea but a lot of internal
methods are mistakenly exposed. | 379 // FIXME: This should probably return a ScrollableArea but a lot of internal
methods are mistakenly exposed. |
382 DeprecatedPaintLayerScrollableArea* scrollableArea() const { return m_scroll
ableArea.get(); } | 380 DeprecatedPaintLayerScrollableArea* scrollableArea() const { return m_scroll
ableArea.get(); } |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 | 708 |
711 } // namespace blink | 709 } // namespace blink |
712 | 710 |
713 #ifndef NDEBUG | 711 #ifndef NDEBUG |
714 // Outside the WebCore namespace for ease of invocation from gdb. | 712 // Outside the WebCore namespace for ease of invocation from gdb. |
715 void showLayerTree(const blink::DeprecatedPaintLayer*); | 713 void showLayerTree(const blink::DeprecatedPaintLayer*); |
716 void showLayerTree(const blink::LayoutObject*); | 714 void showLayerTree(const blink::LayoutObject*); |
717 #endif | 715 #endif |
718 | 716 |
719 #endif // Layer_h | 717 #endif // Layer_h |
OLD | NEW |