| 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 bool hasAnyAdditionalCompositedLayers(const RenderLayer* rootLayer) const; | 251 bool hasAnyAdditionalCompositedLayers(const RenderLayer* rootLayer) const; |
| 252 | 252 |
| 253 void ensureRootLayer(); | 253 void ensureRootLayer(); |
| 254 void destroyRootLayer(); | 254 void destroyRootLayer(); |
| 255 | 255 |
| 256 void attachRootLayer(RootLayerAttachment); | 256 void attachRootLayer(RootLayerAttachment); |
| 257 void detachRootLayer(); | 257 void detachRootLayer(); |
| 258 | 258 |
| 259 bool isMainFrame() const; | 259 bool isMainFrame() const; |
| 260 | 260 |
| 261 void rootLayerAttachmentChanged(); | |
| 262 | |
| 263 void updateOverflowControlsLayers(); | 261 void updateOverflowControlsLayers(); |
| 264 | 262 |
| 265 void notifyIFramesOfCompositingChange(); | 263 void notifyIFramesOfCompositingChange(); |
| 266 | 264 |
| 267 Page* page() const; | 265 Page* page() const; |
| 268 | 266 |
| 269 GraphicsLayerFactory* graphicsLayerFactory() const; | 267 GraphicsLayerFactory* graphicsLayerFactory() const; |
| 270 ScrollingCoordinator* scrollingCoordinator() const; | 268 ScrollingCoordinator* scrollingCoordinator() const; |
| 271 | 269 |
| 272 // Whether a running transition or animation enforces the need for a composi
ting layer. | 270 // Whether a running transition or animation enforces the need for a composi
ting layer. |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. | 352 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. |
| 355 double m_obligatoryBackingStoreBytes; | 353 double m_obligatoryBackingStoreBytes; |
| 356 double m_secondaryBackingStoreBytes; | 354 double m_secondaryBackingStoreBytes; |
| 357 #endif | 355 #endif |
| 358 }; | 356 }; |
| 359 | 357 |
| 360 | 358 |
| 361 } // namespace WebCore | 359 } // namespace WebCore |
| 362 | 360 |
| 363 #endif // RenderLayerCompositor_h | 361 #endif // RenderLayerCompositor_h |
| OLD | NEW |