OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 void frameViewDidChangeLocation(const IntPoint& contentsOffset); | 197 void frameViewDidChangeLocation(const IntPoint& contentsOffset); |
198 void frameViewDidChangeSize(); | 198 void frameViewDidChangeSize(); |
199 void frameViewDidScroll(); | 199 void frameViewDidScroll(); |
200 void frameViewDidLayout(); | 200 void frameViewDidLayout(); |
201 void rootFixedBackgroundsChanged(); | 201 void rootFixedBackgroundsChanged(); |
202 | 202 |
203 void scrollingLayerDidChange(RenderLayer*); | 203 void scrollingLayerDidChange(RenderLayer*); |
204 | 204 |
205 String layerTreeAsText(LayerTreeFlags); | 205 String layerTreeAsText(LayerTreeFlags); |
206 | 206 |
207 virtual float deviceScaleFactor() const OVERRIDE; | |
208 virtual float pageScaleFactor() const OVERRIDE; | |
209 virtual void didCommitChangesForLayer(const GraphicsLayer*) const OVERRIDE; | 207 virtual void didCommitChangesForLayer(const GraphicsLayer*) const OVERRIDE; |
210 | 208 |
211 bool keepLayersPixelAligned() const; | |
212 | |
213 void deviceOrPageScaleFactorChanged(); | |
214 | |
215 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo
ntalScrollbar.get(); } | 209 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo
ntalScrollbar.get(); } |
216 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical
Scrollbar.get(); } | 210 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical
Scrollbar.get(); } |
217 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner.
get(); } | 211 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner.
get(); } |
218 #if ENABLE(RUBBER_BANDING) | 212 #if ENABLE(RUBBER_BANDING) |
219 GraphicsLayer* layerForOverhangAreas() const { return m_layerForOverhangArea
s.get(); } | 213 GraphicsLayer* layerForOverhangAreas() const { return m_layerForOverhangArea
s.get(); } |
220 | 214 |
221 GraphicsLayer* updateLayerForTopOverhangArea(bool wantsLayer); | 215 GraphicsLayer* updateLayerForTopOverhangArea(bool wantsLayer); |
222 GraphicsLayer* updateLayerForBottomOverhangArea(bool wantsLayer); | 216 GraphicsLayer* updateLayerForBottomOverhangArea(bool wantsLayer); |
223 #endif | 217 #endif |
224 | 218 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. | 376 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. |
383 double m_obligatoryBackingStoreBytes; | 377 double m_obligatoryBackingStoreBytes; |
384 double m_secondaryBackingStoreBytes; | 378 double m_secondaryBackingStoreBytes; |
385 #endif | 379 #endif |
386 }; | 380 }; |
387 | 381 |
388 | 382 |
389 } // namespace WebCore | 383 } // namespace WebCore |
390 | 384 |
391 #endif // RenderLayerCompositor_h | 385 #endif // RenderLayerCompositor_h |
OLD | NEW |