| 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 "cc/picture_layer_impl.h" | 5 #include "cc/picture_layer_impl.h" |
| 8 | 6 |
| 9 namespace cc { | 7 namespace cc { |
| 10 | 8 |
| 11 PictureLayerImpl::PictureLayerImpl(int id) : | 9 PictureLayerImpl::PictureLayerImpl(int id) : |
| 12 LayerImpl(id) { | 10 LayerImpl(id) { |
| 13 } | 11 } |
| 14 | 12 |
| 15 PictureLayerImpl::~PictureLayerImpl() { | 13 PictureLayerImpl::~PictureLayerImpl() { |
| 16 } | 14 } |
| 17 | 15 |
| 18 const char* PictureLayerImpl::layerTypeAsString() const { | 16 const char* PictureLayerImpl::layerTypeAsString() const { |
| 19 return "PictureLayer"; | 17 return "PictureLayer"; |
| 20 } | 18 } |
| 21 | 19 |
| 22 void PictureLayerImpl::appendQuads(QuadSink&, AppendQuadsData&) { | 20 void PictureLayerImpl::appendQuads(QuadSink&, AppendQuadsData&) { |
| 23 // TODO(enne): implement me | 21 // TODO(enne): implement me |
| 24 } | 22 } |
| 25 | 23 |
| 26 void PictureLayerImpl::dumpLayerProperties(std::string*, int indent) const { | 24 void PictureLayerImpl::dumpLayerProperties(std::string*, int indent) const { |
| 27 // TODO(enne): implement me | 25 // TODO(enne): implement me |
| 28 } | 26 } |
| 29 | 27 |
| 30 | 28 |
| 31 } // namespace cc | 29 } // namespace cc |
| OLD | NEW |