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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 DoPostCommitInitialization(); | 173 DoPostCommitInitialization(); |
174 } | 174 } |
175 void DoPostCommitInitialization(); | 175 void DoPostCommitInitialization(); |
176 | 176 |
177 bool CanHaveTilings() const; | 177 bool CanHaveTilings() const; |
178 bool CanHaveTilingWithScale(float contents_scale) const; | 178 bool CanHaveTilingWithScale(float contents_scale) const; |
179 void SanityCheckTilingState() const; | 179 void SanityCheckTilingState() const; |
180 | 180 |
181 virtual void GetDebugBorderProperties( | 181 virtual void GetDebugBorderProperties( |
182 SkColor* color, float* width) const OVERRIDE; | 182 SkColor* color, float* width) const OVERRIDE; |
183 virtual void AsValueInto(base::debug::TracedValue* dict) const OVERRIDE; | 183 virtual void AsValueInto(base::DictionaryValue* dict) const OVERRIDE; |
184 | 184 |
185 virtual void UpdateIdealScales(); | 185 virtual void UpdateIdealScales(); |
186 float MaximumTilingContentsScale() const; | 186 float MaximumTilingContentsScale() const; |
187 | 187 |
188 PictureLayerImpl* twin_layer_; | 188 PictureLayerImpl* twin_layer_; |
189 | 189 |
190 scoped_ptr<PictureLayerTilingSet> tilings_; | 190 scoped_ptr<PictureLayerTilingSet> tilings_; |
191 scoped_refptr<PicturePileImpl> pile_; | 191 scoped_refptr<PicturePileImpl> pile_; |
192 Region invalidation_; | 192 Region invalidation_; |
193 | 193 |
(...skipping 23 matching lines...) Expand all Loading... |
217 gfx::Rect viewport_rect_for_tile_priority_; | 217 gfx::Rect viewport_rect_for_tile_priority_; |
218 gfx::Transform screen_space_transform_for_tile_priority_; | 218 gfx::Transform screen_space_transform_for_tile_priority_; |
219 | 219 |
220 friend class PictureLayer; | 220 friend class PictureLayer; |
221 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); | 221 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); |
222 }; | 222 }; |
223 | 223 |
224 } // namespace cc | 224 } // namespace cc |
225 | 225 |
226 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ | 226 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ |
OLD | NEW |