| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 | 284 |
| 285 #if ENABLE(ASSERT) | 285 #if ENABLE(ASSERT) |
| 286 bool hasAncestor(GraphicsLayer*) const; | 286 bool hasAncestor(GraphicsLayer*) const; |
| 287 #endif | 287 #endif |
| 288 | 288 |
| 289 void setReplicatedLayer(GraphicsLayer* layer) { m_replicatedLayer = layer; } | 289 void setReplicatedLayer(GraphicsLayer* layer) { m_replicatedLayer = layer; } |
| 290 | 290 |
| 291 void incrementPaintCount() { ++m_paintCount; } | 291 void incrementPaintCount() { ++m_paintCount; } |
| 292 | 292 |
| 293 void notifyFirstPaintToClient(); | 293 void notifyFirstPaintToClient(); |
| 294 void notifyPaintInvalidationToClient(const IntRect* visualRect); |
| 294 | 295 |
| 295 // Helper functions used by settors to keep layer's the state consistent. | 296 // Helper functions used by settors to keep layer's the state consistent. |
| 296 void updateChildList(); | 297 void updateChildList(); |
| 297 void updateLayerIsDrawable(); | 298 void updateLayerIsDrawable(); |
| 298 void updateContentsRect(); | 299 void updateContentsRect(); |
| 299 | 300 |
| 300 void setContentsTo(WebLayer*); | 301 void setContentsTo(WebLayer*); |
| 301 void setupContentsLayer(WebLayer*); | 302 void setupContentsLayer(WebLayer*); |
| 302 void clearContentsLayerIfUnregistered(); | 303 void clearContentsLayerIfUnregistered(); |
| 303 WebLayer* contentsLayerIfRegistered(); | 304 WebLayer* contentsLayerIfRegistered(); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 }; | 379 }; |
| 379 | 380 |
| 380 } // namespace blink | 381 } // namespace blink |
| 381 | 382 |
| 382 #ifndef NDEBUG | 383 #ifndef NDEBUG |
| 383 // Outside the blink namespace for ease of invocation from gdb. | 384 // Outside the blink namespace for ease of invocation from gdb. |
| 384 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 385 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
| 385 #endif | 386 #endif |
| 386 | 387 |
| 387 #endif // GraphicsLayer_h | 388 #endif // GraphicsLayer_h |
| OLD | NEW |