Chromium Code Reviews| 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 // Under certain circumstances we need to know the detailed reasons that |
| 592 // why it returns false. | |
|
bokan
2017/04/26 15:52:15
Under which circumstance? It's in order to record
yigu
2017/04/27 15:28:27
Done.
flackr
2017/04/27 18:42:35
New patchset?
| |
| 593 bool BackgroundIsKnownToBeOpaqueInRect(const LayoutRect&, | |
| 594 uint32_t* reasons = nullptr) const; | |
| 592 | 595 |
| 593 bool ContainsDirtyOverlayScrollbars() const { | 596 bool ContainsDirtyOverlayScrollbars() const { |
| 594 return contains_dirty_overlay_scrollbars_; | 597 return contains_dirty_overlay_scrollbars_; |
| 595 } | 598 } |
| 596 void SetContainsDirtyOverlayScrollbars(bool dirty_scrollbars) { | 599 void SetContainsDirtyOverlayScrollbars(bool dirty_scrollbars) { |
| 597 contains_dirty_overlay_scrollbars_ = dirty_scrollbars; | 600 contains_dirty_overlay_scrollbars_ = dirty_scrollbars; |
| 598 } | 601 } |
| 599 | 602 |
| 600 CompositorFilterOperations CreateCompositorFilterOperationsForFilter( | 603 CompositorFilterOperations CreateCompositorFilterOperationsForFilter( |
| 601 const ComputedStyle&); | 604 const ComputedStyle&); |
| (...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1277 | 1280 |
| 1278 } // namespace blink | 1281 } // namespace blink |
| 1279 | 1282 |
| 1280 #ifndef NDEBUG | 1283 #ifndef NDEBUG |
| 1281 // Outside the WebCore namespace for ease of invocation from gdb. | 1284 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1282 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); | 1285 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); |
| 1283 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); | 1286 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); |
| 1284 #endif | 1287 #endif |
| 1285 | 1288 |
| 1286 #endif // Layer_h | 1289 #endif // Layer_h |
| OLD | NEW |