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 LayerChromium_h | 6 #ifndef LayerChromium_h |
7 #define LayerChromium_h | 7 #define LayerChromium_h |
8 | 8 |
9 #if USE(ACCELERATED_COMPOSITING) | 9 #if USE(ACCELERATED_COMPOSITING) |
10 | 10 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 void setLayerScrollClient(WebKit::WebLayerScrollClient* layerScrollClient) {
m_layerScrollClient = layerScrollClient; } | 149 void setLayerScrollClient(WebKit::WebLayerScrollClient* layerScrollClient) {
m_layerScrollClient = layerScrollClient; } |
150 | 150 |
151 void setDrawCheckerboardForMissingTiles(bool); | 151 void setDrawCheckerboardForMissingTiles(bool); |
152 bool drawCheckerboardForMissingTiles() const { return m_drawCheckerboardForM
issingTiles; } | 152 bool drawCheckerboardForMissingTiles() const { return m_drawCheckerboardForM
issingTiles; } |
153 | 153 |
154 bool forceRenderSurface() const { return m_forceRenderSurface; } | 154 bool forceRenderSurface() const { return m_forceRenderSurface; } |
155 void setForceRenderSurface(bool); | 155 void setForceRenderSurface(bool); |
156 | 156 |
157 IntSize scrollDelta() const { return IntSize(); } | 157 IntSize scrollDelta() const { return IntSize(); } |
158 | 158 |
159 float pageScaleDelta() const { return 1; } | 159 void setImplTransform(const WebKit::WebTransformationMatrix&); |
| 160 const WebKit::WebTransformationMatrix& implTransform() const { return m_impl
Transform; } |
160 | 161 |
161 void setDoubleSided(bool); | 162 void setDoubleSided(bool); |
162 bool doubleSided() const { return m_doubleSided; } | 163 bool doubleSided() const { return m_doubleSided; } |
163 | 164 |
164 void setPreserves3D(bool preserve3D) { m_preserves3D = preserve3D; } | 165 void setPreserves3D(bool preserve3D) { m_preserves3D = preserve3D; } |
165 bool preserves3D() const { return m_preserves3D; } | 166 bool preserves3D() const { return m_preserves3D; } |
166 | 167 |
167 void setUseParentBackfaceVisibility(bool useParentBackfaceVisibility) { m_us
eParentBackfaceVisibility = useParentBackfaceVisibility; } | 168 void setUseParentBackfaceVisibility(bool useParentBackfaceVisibility) { m_us
eParentBackfaceVisibility = useParentBackfaceVisibility; } |
168 bool useParentBackfaceVisibility() const { return m_useParentBackfaceVisibil
ity; } | 169 bool useParentBackfaceVisibility() const { return m_useParentBackfaceVisibil
ity; } |
169 | 170 |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 WebKit::WebTransformationMatrix m_drawTransform; | 366 WebKit::WebTransformationMatrix m_drawTransform; |
366 WebKit::WebTransformationMatrix m_screenSpaceTransform; | 367 WebKit::WebTransformationMatrix m_screenSpaceTransform; |
367 bool m_drawTransformIsAnimating; | 368 bool m_drawTransformIsAnimating; |
368 bool m_screenSpaceTransformIsAnimating; | 369 bool m_screenSpaceTransformIsAnimating; |
369 | 370 |
370 // Uses target surface space. | 371 // Uses target surface space. |
371 IntRect m_drawableContentRect; | 372 IntRect m_drawableContentRect; |
372 float m_contentsScale; | 373 float m_contentsScale; |
373 bool m_boundsContainPageScale; | 374 bool m_boundsContainPageScale; |
374 | 375 |
| 376 WebKit::WebTransformationMatrix m_implTransform; |
| 377 |
375 WebKit::WebAnimationDelegate* m_layerAnimationDelegate; | 378 WebKit::WebAnimationDelegate* m_layerAnimationDelegate; |
376 WebKit::WebLayerScrollClient* m_layerScrollClient; | 379 WebKit::WebLayerScrollClient* m_layerScrollClient; |
377 }; | 380 }; |
378 | 381 |
379 void sortLayers(Vector<RefPtr<LayerChromium> >::iterator, Vector<RefPtr<LayerChr
omium> >::iterator, void*); | 382 void sortLayers(Vector<RefPtr<LayerChromium> >::iterator, Vector<RefPtr<LayerChr
omium> >::iterator, void*); |
380 | 383 |
381 } | 384 } |
382 #endif // USE(ACCELERATED_COMPOSITING) | 385 #endif // USE(ACCELERATED_COMPOSITING) |
383 | 386 |
384 #endif | 387 #endif |
OLD | NEW |