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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
581 | 581 |
582 // Returns true if the element or any ancestor has non 1 opacity. | 582 // Returns true if the element or any ancestor has non 1 opacity. |
583 bool CompositesWithOpacity() const; | 583 bool CompositesWithOpacity() const; |
584 | 584 |
585 bool PaintsWithTransform(GlobalPaintFlags) const; | 585 bool PaintsWithTransform(GlobalPaintFlags) const; |
586 | 586 |
587 bool SupportsSubsequenceCaching() const; | 587 bool SupportsSubsequenceCaching() const; |
588 | 588 |
589 // Returns true if background phase is painted opaque in the given rect. | 589 // Returns true if background phase is painted opaque in the given rect. |
590 // The query rect is given in local coordinates. | 590 // The query rect is given in local coordinates. |
591 bool BackgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const; | 591 bool BackgroundIsKnownToBeOpaqueInRect(const LayoutRect&, |
592 uint32_t* reasons = nullptr) const; | |
bokan
2017/04/25 18:04:15
Document this parameter in the comments. A more de
yigu
2017/04/26 15:38:36
Done.
| |
592 | 593 |
593 bool ContainsDirtyOverlayScrollbars() const { | 594 bool ContainsDirtyOverlayScrollbars() const { |
594 return contains_dirty_overlay_scrollbars_; | 595 return contains_dirty_overlay_scrollbars_; |
595 } | 596 } |
596 void SetContainsDirtyOverlayScrollbars(bool dirty_scrollbars) { | 597 void SetContainsDirtyOverlayScrollbars(bool dirty_scrollbars) { |
597 contains_dirty_overlay_scrollbars_ = dirty_scrollbars; | 598 contains_dirty_overlay_scrollbars_ = dirty_scrollbars; |
598 } | 599 } |
599 | 600 |
600 CompositorFilterOperations CreateCompositorFilterOperationsForFilter( | 601 CompositorFilterOperations CreateCompositorFilterOperationsForFilter( |
601 const ComputedStyle&); | 602 const ComputedStyle&); |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1277 | 1278 |
1278 } // namespace blink | 1279 } // namespace blink |
1279 | 1280 |
1280 #ifndef NDEBUG | 1281 #ifndef NDEBUG |
1281 // Outside the WebCore namespace for ease of invocation from gdb. | 1282 // Outside the WebCore namespace for ease of invocation from gdb. |
1282 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); | 1283 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); |
1283 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); | 1284 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); |
1284 #endif | 1285 #endif |
1285 | 1286 |
1286 #endif // Layer_h | 1287 #endif // Layer_h |
OLD | NEW |