| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CCLayerImpl_h | 5 #ifndef CCLayerImpl_h |
| 6 #define CCLayerImpl_h | 6 #define CCLayerImpl_h |
| 7 | 7 |
| 8 #include "CCInputHandler.h" | 8 #include "CCInputHandler.h" |
| 9 #include "CCLayerAnimationController.h" | 9 #include "CCLayerAnimationController.h" |
| 10 #include "CCRenderPass.h" | 10 #include "CCRenderPass.h" |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 // Hierarchical bounding rect containing the layer and its descendants. | 379 // Hierarchical bounding rect containing the layer and its descendants. |
| 380 // Uses target surface's space. | 380 // Uses target surface's space. |
| 381 IntRect m_drawableContentRect; | 381 IntRect m_drawableContentRect; |
| 382 | 382 |
| 383 // Rect indicating what was repainted/updated during update. | 383 // Rect indicating what was repainted/updated during update. |
| 384 // Note that plugin layers bypass this and leave it empty. | 384 // Note that plugin layers bypass this and leave it empty. |
| 385 // Uses layer's content space. | 385 // Uses layer's content space. |
| 386 FloatRect m_updateRect; | 386 FloatRect m_updateRect; |
| 387 | 387 |
| 388 // Manages animations for this layer. | 388 // Manages animations for this layer. |
| 389 OwnPtr<CCLayerAnimationController> m_layerAnimationController; | 389 scoped_ptr<CCLayerAnimationController> m_layerAnimationController; |
| 390 | 390 |
| 391 // Manages scrollbars for this layer | 391 // Manages scrollbars for this layer |
| 392 OwnPtr<CCScrollbarAnimationController> m_scrollbarAnimationController; | 392 OwnPtr<CCScrollbarAnimationController> m_scrollbarAnimationController; |
| 393 }; | 393 }; |
| 394 | 394 |
| 395 void sortLayers(std::vector<CCLayerImpl*>::iterator first, std::vector<CCLayerIm
pl*>::iterator end, CCLayerSorter*); | 395 void sortLayers(std::vector<CCLayerImpl*>::iterator first, std::vector<CCLayerIm
pl*>::iterator end, CCLayerSorter*); |
| 396 | 396 |
| 397 } | 397 } |
| 398 | 398 |
| 399 #endif // CCLayerImpl_h | 399 #endif // CCLayerImpl_h |
| OLD | NEW |