| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 // Return true if the layers changed. | 168 // Return true if the layers changed. |
| 169 static bool parentFrameContentLayers(RenderPart*); | 169 static bool parentFrameContentLayers(RenderPart*); |
| 170 | 170 |
| 171 // Update the geometry of the layers used for clipping and scrolling in fram
es. | 171 // Update the geometry of the layers used for clipping and scrolling in fram
es. |
| 172 void frameViewDidChangeLocation(const IntPoint& contentsOffset); | 172 void frameViewDidChangeLocation(const IntPoint& contentsOffset); |
| 173 void frameViewDidChangeSize(); | 173 void frameViewDidChangeSize(); |
| 174 void frameViewDidScroll(); | 174 void frameViewDidScroll(); |
| 175 void frameViewDidLayout(); | 175 void frameViewDidLayout(); |
| 176 void rootFixedBackgroundsChanged(); | 176 void rootFixedBackgroundsChanged(); |
| 177 | 177 |
| 178 void scrollingLayerDidChange(RenderLayer*); | 178 bool scrollingLayerDidChange(RenderLayer*); |
| 179 | 179 |
| 180 String layerTreeAsText(LayerTreeFlags); | 180 String layerTreeAsText(LayerTreeFlags); |
| 181 | 181 |
| 182 virtual void didCommitChangesForLayer(const GraphicsLayer*) const OVERRIDE; | 182 virtual void didCommitChangesForLayer(const GraphicsLayer*) const OVERRIDE; |
| 183 | 183 |
| 184 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo
ntalScrollbar.get(); } | 184 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo
ntalScrollbar.get(); } |
| 185 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical
Scrollbar.get(); } | 185 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical
Scrollbar.get(); } |
| 186 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner.
get(); } | 186 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner.
get(); } |
| 187 #if ENABLE(RUBBER_BANDING) | 187 #if ENABLE(RUBBER_BANDING) |
| 188 GraphicsLayer* layerForOverhangAreas() const { return m_layerForOverhangArea
s.get(); } | 188 GraphicsLayer* layerForOverhangAreas() const { return m_layerForOverhangArea
s.get(); } |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. | 361 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. |
| 362 double m_obligatoryBackingStoreBytes; | 362 double m_obligatoryBackingStoreBytes; |
| 363 double m_secondaryBackingStoreBytes; | 363 double m_secondaryBackingStoreBytes; |
| 364 #endif | 364 #endif |
| 365 }; | 365 }; |
| 366 | 366 |
| 367 | 367 |
| 368 } // namespace WebCore | 368 } // namespace WebCore |
| 369 | 369 |
| 370 #endif // RenderLayerCompositor_h | 370 #endif // RenderLayerCompositor_h |
| OLD | NEW |