| 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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 | 330 |
| 331 GraphicsLayer* m_maskLayer; // Reference to mask layer. We don't own this. | 331 GraphicsLayer* m_maskLayer; // Reference to mask layer. We don't own this. |
| 332 GraphicsLayer* m_contentsClippingMaskLayer; // Reference to clipping mask la
yer. We don't own this. | 332 GraphicsLayer* m_contentsClippingMaskLayer; // Reference to clipping mask la
yer. We don't own this. |
| 333 | 333 |
| 334 GraphicsLayer* m_replicaLayer; // A layer that replicates this layer. We onl
y allow one, for now. | 334 GraphicsLayer* m_replicaLayer; // A layer that replicates this layer. We onl
y allow one, for now. |
| 335 // The replica is not parented; this is the p
rimary reference to it. | 335 // The replica is not parented; this is the p
rimary reference to it. |
| 336 GraphicsLayer* m_replicatedLayer; // For a replica layer, a reference to the
original layer. | 336 GraphicsLayer* m_replicatedLayer; // For a replica layer, a reference to the
original layer. |
| 337 FloatPoint m_replicatedLayerPosition; // For a replica layer, the position o
f the replica. | 337 FloatPoint m_replicatedLayerPosition; // For a replica layer, the position o
f the replica. |
| 338 | 338 |
| 339 IntRect m_contentsRect; | 339 IntRect m_contentsRect; |
| 340 IntRect m_containingRect; |
| 340 | 341 |
| 341 int m_paintCount; | 342 int m_paintCount; |
| 342 | 343 |
| 343 OwnPtr<WebContentLayer> m_layer; | 344 OwnPtr<WebContentLayer> m_layer; |
| 344 OwnPtr<WebImageLayer> m_imageLayer; | 345 OwnPtr<WebImageLayer> m_imageLayer; |
| 345 WebLayer* m_contentsLayer; | 346 WebLayer* m_contentsLayer; |
| 346 // We don't have ownership of m_contentsLayer, but we do want to know if a g
iven layer is the | 347 // We don't have ownership of m_contentsLayer, but we do want to know if a g
iven layer is the |
| 347 // same as our current layer in setContentsTo(). Since m_contentsLayer may b
e deleted at this point, | 348 // same as our current layer in setContentsTo(). Since m_contentsLayer may b
e deleted at this point, |
| 348 // we stash an ID away when we know m_contentsLayer is alive and use that fo
r comparisons from that point | 349 // we stash an ID away when we know m_contentsLayer is alive and use that fo
r comparisons from that point |
| 349 // on. | 350 // on. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 361 }; | 362 }; |
| 362 | 363 |
| 363 } // namespace blink | 364 } // namespace blink |
| 364 | 365 |
| 365 #ifndef NDEBUG | 366 #ifndef NDEBUG |
| 366 // Outside the blink namespace for ease of invocation from gdb. | 367 // Outside the blink namespace for ease of invocation from gdb. |
| 367 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 368 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
| 368 #endif | 369 #endif |
| 369 | 370 |
| 370 #endif // GraphicsLayer_h | 371 #endif // GraphicsLayer_h |
| OLD | NEW |