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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
141 void setNonFastScrollableRegionChanged() { m_nonFastScrollableRegionChanged = true; } | 141 void setNonFastScrollableRegionChanged() { m_nonFastScrollableRegionChanged = true; } |
142 void setLayerScrollClient(WebKit::WebLayerScrollClient* layerScrollClient) { m_layerScrollClient = layerScrollClient; } | 142 void setLayerScrollClient(WebKit::WebLayerScrollClient* layerScrollClient) { m_layerScrollClient = layerScrollClient; } |
143 | 143 |
144 void setDrawCheckerboardForMissingTiles(bool); | 144 void setDrawCheckerboardForMissingTiles(bool); |
145 bool drawCheckerboardForMissingTiles() const { return m_drawCheckerboardForM issingTiles; } | 145 bool drawCheckerboardForMissingTiles() const { return m_drawCheckerboardForM issingTiles; } |
146 | 146 |
147 bool forceRenderSurface() const { return m_forceRenderSurface; } | 147 bool forceRenderSurface() const { return m_forceRenderSurface; } |
148 void setForceRenderSurface(bool); | 148 void setForceRenderSurface(bool); |
149 | 149 |
150 IntSize scrollDelta() const { return IntSize(); } | 150 IntSize scrollDelta() const { return IntSize(); } |
151 FloatSize localOffset() const { return FloatSize(); } | |
enne (OOO)
2012/09/13 19:40:54
This seriously needs a comment describing what thi
aelias_OOO_until_Jul13
2012/09/13 19:47:41
In the WebKit bug, I proposed collapsing m_localOf
Jeff Timanus
2012/09/13 19:58:50
I'm working on wrapping all of these transforms as
| |
151 | 152 |
152 float pageScaleDelta() const { return 1; } | 153 float pageScaleDelta() const { return 1; } |
154 float pageScaleFactor() const { return 1; } | |
enne (OOO)
2012/09/13 19:40:54
Why is the page scale factor 1 on the main thread?
aelias_OOO_until_Jul13
2012/09/13 19:47:41
I would also like us to get the right scale on the
Jeff Timanus
2012/09/13 19:58:50
The page scale factor is 1 because of the change s
| |
153 | 155 |
154 void setDoubleSided(bool); | 156 void setDoubleSided(bool); |
155 bool doubleSided() const { return m_doubleSided; } | 157 bool doubleSided() const { return m_doubleSided; } |
156 | 158 |
157 void setPreserves3D(bool preserve3D) { m_preserves3D = preserve3D; } | 159 void setPreserves3D(bool preserve3D) { m_preserves3D = preserve3D; } |
158 bool preserves3D() const { return m_preserves3D; } | 160 bool preserves3D() const { return m_preserves3D; } |
159 | 161 |
160 void setUseParentBackfaceVisibility(bool useParentBackfaceVisibility) { m_us eParentBackfaceVisibility = useParentBackfaceVisibility; } | 162 void setUseParentBackfaceVisibility(bool useParentBackfaceVisibility) { m_us eParentBackfaceVisibility = useParentBackfaceVisibility; } |
161 bool useParentBackfaceVisibility() const { return m_useParentBackfaceVisibil ity; } | 163 bool useParentBackfaceVisibility() const { return m_useParentBackfaceVisibil ity; } |
162 | 164 |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
366 WebKit::WebAnimationDelegate* m_layerAnimationDelegate; | 368 WebKit::WebAnimationDelegate* m_layerAnimationDelegate; |
367 WebKit::WebLayerScrollClient* m_layerScrollClient; | 369 WebKit::WebLayerScrollClient* m_layerScrollClient; |
368 }; | 370 }; |
369 | 371 |
370 void sortLayers(Vector<RefPtr<LayerChromium> >::iterator, Vector<RefPtr<LayerChr omium> >::iterator, void*); | 372 void sortLayers(Vector<RefPtr<LayerChromium> >::iterator, Vector<RefPtr<LayerChr omium> >::iterator, void*); |
371 | 373 |
372 } | 374 } |
373 #endif // USE(ACCELERATED_COMPOSITING) | 375 #endif // USE(ACCELERATED_COMPOSITING) |
374 | 376 |
375 #endif | 377 #endif |
OLD | NEW |