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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 // Hierarchical bounding rect containing the layer and its descendants. | 380 // Hierarchical bounding rect containing the layer and its descendants. |
381 // Uses target surface's space. | 381 // Uses target surface's space. |
382 IntRect m_drawableContentRect; | 382 IntRect m_drawableContentRect; |
383 | 383 |
384 // Rect indicating what was repainted/updated during update. | 384 // Rect indicating what was repainted/updated during update. |
385 // Note that plugin layers bypass this and leave it empty. | 385 // Note that plugin layers bypass this and leave it empty. |
386 // Uses layer's content space. | 386 // Uses layer's content space. |
387 FloatRect m_updateRect; | 387 FloatRect m_updateRect; |
388 | 388 |
389 // Manages animations for this layer. | 389 // Manages animations for this layer. |
390 OwnPtr<CCLayerAnimationController> m_layerAnimationController; | 390 scoped_ptr<CCLayerAnimationController> m_layerAnimationController; |
391 | 391 |
392 // Manages scrollbars for this layer | 392 // Manages scrollbars for this layer |
393 OwnPtr<CCScrollbarAnimationController> m_scrollbarAnimationController; | 393 OwnPtr<CCScrollbarAnimationController> m_scrollbarAnimationController; |
394 }; | 394 }; |
395 | 395 |
396 void sortLayers(std::vector<CCLayerImpl*>::iterator first, std::vector<CCLayerIm
pl*>::iterator end, CCLayerSorter*); | 396 void sortLayers(std::vector<CCLayerImpl*>::iterator first, std::vector<CCLayerIm
pl*>::iterator end, CCLayerSorter*); |
397 | 397 |
398 } | 398 } |
399 | 399 |
400 #endif // CCLayerImpl_h | 400 #endif // CCLayerImpl_h |
OLD | NEW |