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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 | 165 |
166 static RenderLayerCompositor* frameContentsCompositor(RenderPart*); | 166 static RenderLayerCompositor* frameContentsCompositor(RenderPart*); |
167 // Return true if the layers changed. | 167 // Return true if the layers changed. |
168 static bool parentFrameContentLayers(RenderPart*); | 168 static bool parentFrameContentLayers(RenderPart*); |
169 | 169 |
170 // Update the geometry of the layers used for clipping and scrolling in fram
es. | 170 // Update the geometry of the layers used for clipping and scrolling in fram
es. |
171 void frameViewDidChangeLocation(const IntPoint& contentsOffset); | 171 void frameViewDidChangeLocation(const IntPoint& contentsOffset); |
172 void frameViewDidChangeSize(); | 172 void frameViewDidChangeSize(); |
173 void frameViewDidScroll(); | 173 void frameViewDidScroll(); |
174 void frameViewDidLayout(); | 174 void frameViewDidLayout(); |
| 175 void frameViewScrollbarsExistenceDidChange(); |
175 void rootFixedBackgroundsChanged(); | 176 void rootFixedBackgroundsChanged(); |
176 | 177 |
177 bool scrollingLayerDidChange(RenderLayer*); | 178 bool scrollingLayerDidChange(RenderLayer*); |
178 | 179 |
179 String layerTreeAsText(LayerTreeFlags); | 180 String layerTreeAsText(LayerTreeFlags); |
180 | 181 |
181 virtual void didCommitChangesForLayer(const GraphicsLayer*) const OVERRIDE; | 182 virtual void didCommitChangesForLayer(const GraphicsLayer*) const OVERRIDE; |
182 | 183 |
183 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo
ntalScrollbar.get(); } | 184 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo
ntalScrollbar.get(); } |
184 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical
Scrollbar.get(); } | 185 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical
Scrollbar.get(); } |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 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. |
361 double m_obligatoryBackingStoreBytes; | 362 double m_obligatoryBackingStoreBytes; |
362 double m_secondaryBackingStoreBytes; | 363 double m_secondaryBackingStoreBytes; |
363 #endif | 364 #endif |
364 }; | 365 }; |
365 | 366 |
366 | 367 |
367 } // namespace WebCore | 368 } // namespace WebCore |
368 | 369 |
369 #endif // RenderLayerCompositor_h | 370 #endif // RenderLayerCompositor_h |
OLD | NEW |