| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2014 Google Inc. All rights reserved. | 3 * Copyright (C) 2014 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // If a child in the negative z-order list is compositing, then the lay
er itself | 52 // If a child in the negative z-order list is compositing, then the lay
er itself |
| 53 // must be compositing so that its contents render over that child. | 53 // must be compositing so that its contents render over that child. |
| 54 // This implies that its positive z-index children must also be composi
ting. | 54 // This implies that its positive z-index children must also be composi
ting. |
| 55 // | 55 // |
| 56 void update(PaintLayer* root); | 56 void update(PaintLayer* root); |
| 57 | 57 |
| 58 private: | 58 private: |
| 59 class OverlapMap; | 59 class OverlapMap; |
| 60 class RecursionData; | 60 class RecursionData; |
| 61 | 61 |
| 62 void updateRecursive(PaintLayer* ancestorLayer, PaintLayer* currentLayer, Ov
erlapMap&, RecursionData&, bool& descendantHas3DTransform, Vector<PaintLayer*>&
unclippedDescendants, IntRect& absoluteDecendantBoundingBox); | 62 void updateRecursive(PaintLayer* ancestorLayer, PaintLayer* currentLayer, Ov
erlapMap&, RecursionData&, |
| 63 bool& descendantHas3DTransform, Vector<PaintLayer*>& unclippedDescendant
s, IntRect& absoluteDescendantBoundingBox); |
| 63 | 64 |
| 64 LayoutView& m_layoutView; | 65 LayoutView& m_layoutView; |
| 65 CompositingReasonFinder& m_compositingReasonFinder; | 66 CompositingReasonFinder& m_compositingReasonFinder; |
| 66 }; | 67 }; |
| 67 | 68 |
| 68 } // namespace blink | 69 } // namespace blink |
| 69 | 70 |
| 70 #endif // CompositingRequirementsUpdater_h | 71 #endif // CompositingRequirementsUpdater_h |
| OLD | NEW |