| 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 "config.h" | |
| 6 | |
| 7 #include "nine_patch_layer_impl.h" | 5 #include "nine_patch_layer_impl.h" |
| 8 | 6 |
| 9 #include "base/stringprintf.h" | 7 #include "base/stringprintf.h" |
| 10 #include "cc/quad_sink.h" | 8 #include "cc/quad_sink.h" |
| 11 #include "cc/texture_draw_quad.h" | 9 #include "cc/texture_draw_quad.h" |
| 12 #include "ui/gfx/rect_f.h" | 10 #include "ui/gfx/rect_f.h" |
| 13 | 11 |
| 14 namespace cc { | 12 namespace cc { |
| 15 | 13 |
| 16 NinePatchLayerImpl::NinePatchLayerImpl(int id) | 14 NinePatchLayerImpl::NinePatchLayerImpl(int id) |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 } | 108 } |
| 111 | 109 |
| 112 void NinePatchLayerImpl::dumpLayerProperties(std::string* str, int indent) const | 110 void NinePatchLayerImpl::dumpLayerProperties(std::string* str, int indent) const |
| 113 { | 111 { |
| 114 str->append(indentString(indent)); | 112 str->append(indentString(indent)); |
| 115 base::StringAppendF(str, "imageAperture: %s\n", m_imageAperture.ToString().c
_str()); | 113 base::StringAppendF(str, "imageAperture: %s\n", m_imageAperture.ToString().c
_str()); |
| 116 LayerImpl::dumpLayerProperties(str, indent); | 114 LayerImpl::dumpLayerProperties(str, indent); |
| 117 } | 115 } |
| 118 | 116 |
| 119 } | 117 } |
| OLD | NEW |