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 #include "cc/layers/picture_layer_impl.h" | 5 #include "cc/layers/picture_layer_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "cc/base/math_util.h" | 10 #include "cc/base/math_util.h" |
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
947 SkColor* color, | 947 SkColor* color, |
948 float* width) const { | 948 float* width) const { |
949 *color = DebugColors::TiledContentLayerBorderColor(); | 949 *color = DebugColors::TiledContentLayerBorderColor(); |
950 *width = DebugColors::TiledContentLayerBorderWidth(layer_tree_impl()); | 950 *width = DebugColors::TiledContentLayerBorderWidth(layer_tree_impl()); |
951 } | 951 } |
952 | 952 |
953 void PictureLayerImpl::AsValueInto(base::DictionaryValue* state) const { | 953 void PictureLayerImpl::AsValueInto(base::DictionaryValue* state) const { |
954 LayerImpl::AsValueInto(state); | 954 LayerImpl::AsValueInto(state); |
955 state->SetDouble("ideal_contents_scale", ideal_contents_scale_); | 955 state->SetDouble("ideal_contents_scale", ideal_contents_scale_); |
956 state->Set("tilings", tilings_->AsValue().release()); | 956 state->Set("tilings", tilings_->AsValue().release()); |
| 957 state->Set("pictures", pile_->AsValue().release()); |
957 state->Set("invalidation", invalidation_.AsValue().release()); | 958 state->Set("invalidation", invalidation_.AsValue().release()); |
958 } | 959 } |
959 | 960 |
960 } // namespace cc | 961 } // namespace cc |
OLD | NEW |