OLD | NEW |
1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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 | 5 |
6 #ifndef RenderSurfaceChromium_h | 6 #ifndef RenderSurfaceChromium_h |
7 #define RenderSurfaceChromium_h | 7 #define RenderSurfaceChromium_h |
8 | 8 |
9 #if USE(ACCELERATED_COMPOSITING) | 9 #if USE(ACCELERATED_COMPOSITING) |
10 | 10 |
11 #include "FloatRect.h" | 11 #include "FloatRect.h" |
12 #include "IntRect.h" | 12 #include "IntRect.h" |
13 #include <public/WebTransformationMatrix.h> | 13 #include <public/WebTransformationMatrix.h> |
14 #include <wtf/Noncopyable.h> | 14 #include <wtf/Noncopyable.h> |
15 | 15 |
16 namespace WebCore { | 16 namespace cc { |
17 | 17 |
18 class LayerChromium; | 18 class LayerChromium; |
19 | 19 |
20 class RenderSurfaceChromium { | 20 class RenderSurfaceChromium { |
21 WTF_MAKE_NONCOPYABLE(RenderSurfaceChromium); | 21 WTF_MAKE_NONCOPYABLE(RenderSurfaceChromium); |
22 public: | 22 public: |
23 explicit RenderSurfaceChromium(LayerChromium*); | 23 explicit RenderSurfaceChromium(LayerChromium*); |
24 ~RenderSurfaceChromium(); | 24 ~RenderSurfaceChromium(); |
25 | 25 |
26 // Returns the rect that encloses the RenderSurface including any reflection
. | 26 // Returns the rect that encloses the RenderSurface including any reflection
. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 // For CCLayerIteratorActions | 90 // For CCLayerIteratorActions |
91 int m_targetRenderSurfaceLayerIndexHistory; | 91 int m_targetRenderSurfaceLayerIndexHistory; |
92 int m_currentLayerIndexHistory; | 92 int m_currentLayerIndexHistory; |
93 friend struct CCLayerIteratorActions; | 93 friend struct CCLayerIteratorActions; |
94 }; | 94 }; |
95 | 95 |
96 } | 96 } |
97 #endif // USE(ACCELERATED_COMPOSITING) | 97 #endif // USE(ACCELERATED_COMPOSITING) |
98 | 98 |
99 #endif | 99 #endif |
OLD | NEW |