OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_LAYERS_PICTURE_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_ |
6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ | 6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 virtual ~PictureLayerImpl(); | 85 virtual ~PictureLayerImpl(); |
86 | 86 |
87 // LayerImpl overrides. | 87 // LayerImpl overrides. |
88 virtual const char* LayerTypeAsString() const OVERRIDE; | 88 virtual const char* LayerTypeAsString() const OVERRIDE; |
89 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) | 89 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) |
90 OVERRIDE; | 90 OVERRIDE; |
91 virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; | 91 virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; |
92 virtual void AppendQuads(QuadSink* quad_sink, | 92 virtual void AppendQuads(QuadSink* quad_sink, |
93 AppendQuadsData* append_quads_data) OVERRIDE; | 93 AppendQuadsData* append_quads_data) OVERRIDE; |
94 virtual void UpdateTilePriorities() OVERRIDE; | 94 virtual void UpdateTilePriorities() OVERRIDE; |
| 95 virtual void NotifyTileInitialized(const Tile* tile) OVERRIDE; |
95 virtual void DidBecomeActive() OVERRIDE; | 96 virtual void DidBecomeActive() OVERRIDE; |
96 virtual void DidBeginTracing() OVERRIDE; | 97 virtual void DidBeginTracing() OVERRIDE; |
97 virtual void ReleaseResources() OVERRIDE; | 98 virtual void ReleaseResources() OVERRIDE; |
98 virtual void CalculateContentsScale(float ideal_contents_scale, | 99 virtual void CalculateContentsScale(float ideal_contents_scale, |
99 float device_scale_factor, | 100 float device_scale_factor, |
100 float page_scale_factor, | 101 float page_scale_factor, |
101 float maximum_animation_contents_scale, | 102 float maximum_animation_contents_scale, |
102 bool animating_transform_to_screen, | 103 bool animating_transform_to_screen, |
103 float* contents_scale_x, | 104 float* contents_scale_x, |
104 float* contents_scale_y, | 105 float* contents_scale_y, |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 gfx::Size viewport_size_for_tile_priority_; | 221 gfx::Size viewport_size_for_tile_priority_; |
221 gfx::Transform screen_space_transform_for_tile_priority_; | 222 gfx::Transform screen_space_transform_for_tile_priority_; |
222 | 223 |
223 friend class PictureLayer; | 224 friend class PictureLayer; |
224 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); | 225 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); |
225 }; | 226 }; |
226 | 227 |
227 } // namespace cc | 228 } // namespace cc |
228 | 229 |
229 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ | 230 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ |
OLD | NEW |