| 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/rendering/RenderLayer.h" | 8 #include "sky/engine/core/rendering/RenderLayer.h" |
| 9 #include "core/rendering/compositing/CompositingTriggers.h" | 9 #include "sky/engine/core/rendering/compositing/CompositingTriggers.h" |
| 10 #include "platform/graphics/CompositingReasons.h" | 10 #include "sky/engine/platform/graphics/CompositingReasons.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class RenderObject; | 14 class RenderObject; |
| 15 class RenderView; | 15 class RenderView; |
| 16 | 16 |
| 17 class CompositingReasonFinder { | 17 class CompositingReasonFinder { |
| 18 WTF_MAKE_NONCOPYABLE(CompositingReasonFinder); | 18 WTF_MAKE_NONCOPYABLE(CompositingReasonFinder); |
| 19 public: | 19 public: |
| 20 explicit CompositingReasonFinder(RenderView&); | 20 explicit CompositingReasonFinder(RenderView&); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 33 bool requiresCompositingForTransform(RenderObject*) const; | 33 bool requiresCompositingForTransform(RenderObject*) const; |
| 34 bool requiresCompositingForAnimation(RenderStyle*) const; | 34 bool requiresCompositingForAnimation(RenderStyle*) const; |
| 35 | 35 |
| 36 RenderView& m_renderView; | 36 RenderView& m_renderView; |
| 37 CompositingTriggerFlags m_compositingTriggers; | 37 CompositingTriggerFlags m_compositingTriggers; |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace blink | 40 } // namespace blink |
| 41 | 41 |
| 42 #endif // CompositingReasonFinder_h | 42 #endif // CompositingReasonFinder_h |
| OLD | NEW |