| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CompositingReasonFinder_h | 5 #ifndef CompositingReasonFinder_h |
| 6 #define CompositingReasonFinder_h | 6 #define CompositingReasonFinder_h |
| 7 | 7 |
| 8 #include "core/page/ChromeClient.h" | 8 #include "core/page/ChromeClient.h" |
| 9 #include "core/rendering/RenderLayer.h" | 9 #include "core/rendering/RenderLayer.h" |
| 10 #include "platform/graphics/CompositingReasons.h" | 10 #include "platform/graphics/CompositingReasons.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 bool requiresCompositingForTransform(RenderObject*) const; | 40 bool requiresCompositingForTransform(RenderObject*) const; |
| 41 bool requiresCompositingForVideo(RenderObject*) const; | 41 bool requiresCompositingForVideo(RenderObject*) const; |
| 42 bool requiresCompositingForCanvas(RenderObject*) const; | 42 bool requiresCompositingForCanvas(RenderObject*) const; |
| 43 bool requiresCompositingForPlugin(RenderObject*, bool* needToRecomputeCompos
itingRequirements) const; | 43 bool requiresCompositingForPlugin(RenderObject*, bool* needToRecomputeCompos
itingRequirements) const; |
| 44 bool requiresCompositingForFrame(RenderObject*, bool* needToRecomputeComposi
tingRequirements) const; | 44 bool requiresCompositingForFrame(RenderObject*, bool* needToRecomputeComposi
tingRequirements) const; |
| 45 bool requiresCompositingForBackfaceVisibilityHidden(RenderObject*) const; | 45 bool requiresCompositingForBackfaceVisibilityHidden(RenderObject*) const; |
| 46 bool requiresCompositingForFilters(RenderObject*) const; | 46 bool requiresCompositingForFilters(RenderObject*) const; |
| 47 bool requiresCompositingForOverflowScrollingParent(const RenderLayer*) const
; | 47 bool requiresCompositingForOverflowScrollingParent(const RenderLayer*) const
; |
| 48 bool requiresCompositingForOutOfFlowClipping(const RenderLayer*) const; | 48 bool requiresCompositingForOutOfFlowClipping(const RenderLayer*) const; |
| 49 bool requiresCompositingForOverflowScrolling(const RenderLayer*) const; | 49 bool requiresCompositingForOverflowScrolling(const RenderLayer*) const; |
| 50 bool requiresCompositingForWillChange(const RenderObject*) const; |
| 50 | 51 |
| 51 RenderView& m_renderView; | 52 RenderView& m_renderView; |
| 52 ChromeClient::CompositingTriggerFlags m_compositingTriggers; | 53 ChromeClient::CompositingTriggerFlags m_compositingTriggers; |
| 53 }; | 54 }; |
| 54 | 55 |
| 55 } // namespace WebCore | 56 } // namespace WebCore |
| 56 | 57 |
| 57 #endif // CompositingReasonFinder_h | 58 #endif // CompositingReasonFinder_h |
| OLD | NEW |