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 CC_LAYER_IMPL_H_ | 5 #ifndef CC_LAYER_IMPL_H_ |
6 #define CC_LAYER_IMPL_H_ | 6 #define CC_LAYER_IMPL_H_ |
7 | 7 |
8 #include <public/WebFilterOperations.h> | 8 #include <public/WebFilterOperations.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "cc/shared_quad_state.h" | 22 #include "cc/shared_quad_state.h" |
23 #include "skia/ext/refptr.h" | 23 #include "skia/ext/refptr.h" |
24 #include "third_party/skia/include/core/SkColor.h" | 24 #include "third_party/skia/include/core/SkColor.h" |
25 #include "third_party/skia/include/core/SkImageFilter.h" | 25 #include "third_party/skia/include/core/SkImageFilter.h" |
26 #include "ui/gfx/rect.h" | 26 #include "ui/gfx/rect.h" |
27 #include "ui/gfx/rect_f.h" | 27 #include "ui/gfx/rect_f.h" |
28 #include "ui/gfx/transform.h" | 28 #include "ui/gfx/transform.h" |
29 | 29 |
30 namespace cc { | 30 namespace cc { |
31 | 31 |
32 class LayerSorter; | |
33 class LayerTreeHostImpl; | 32 class LayerTreeHostImpl; |
34 class QuadSink; | 33 class QuadSink; |
35 class Renderer; | 34 class Renderer; |
36 class ScrollbarAnimationController; | 35 class ScrollbarAnimationController; |
37 class ScrollbarLayerImpl; | 36 class ScrollbarLayerImpl; |
38 class Layer; | 37 class Layer; |
39 | 38 |
40 struct AppendQuadsData; | 39 struct AppendQuadsData; |
41 | 40 |
42 class CC_EXPORT LayerImpl : public LayerAnimationControllerClient { | 41 class CC_EXPORT LayerImpl : public LayerAnimationControllerClient { |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 // Manages scrollbars for this layer | 391 // Manages scrollbars for this layer |
393 scoped_ptr<ScrollbarAnimationController> m_scrollbarAnimationController; | 392 scoped_ptr<ScrollbarAnimationController> m_scrollbarAnimationController; |
394 | 393 |
395 // Group of properties that need to be computed based on the layer tree | 394 // Group of properties that need to be computed based on the layer tree |
396 // hierarchy before layers can be drawn. | 395 // hierarchy before layers can be drawn. |
397 DrawProperties<LayerImpl, RenderSurfaceImpl> m_drawProperties; | 396 DrawProperties<LayerImpl, RenderSurfaceImpl> m_drawProperties; |
398 | 397 |
399 DISALLOW_COPY_AND_ASSIGN(LayerImpl); | 398 DISALLOW_COPY_AND_ASSIGN(LayerImpl); |
400 }; | 399 }; |
401 | 400 |
402 void sortLayers(std::vector<LayerImpl*>::iterator first, std::vector<LayerImpl*>
::iterator end, LayerSorter*); | |
403 | |
404 } | 401 } |
405 | 402 |
406 #endif // CC_LAYER_IMPL_H_ | 403 #endif // CC_LAYER_IMPL_H_ |
OLD | NEW |