OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "config.h" |
| 6 |
| 7 #include "cc/picture.h" |
| 8 |
| 9 namespace cc { |
| 10 |
| 11 Picture::Picture() { |
| 12 } |
| 13 |
| 14 Picture::~Picture() { |
| 15 } |
| 16 |
| 17 void Picture::invalidate(gfx::Rect rect) { |
| 18 // TODO(enne) |
| 19 } |
| 20 |
| 21 void Picture::resize(gfx::Size size) { |
| 22 // TODO(enne) |
| 23 } |
| 24 |
| 25 void Picture::update(ContentLayerClient* painter) { |
| 26 // TODO(enne) |
| 27 } |
| 28 |
| 29 void Picture::pushPropertiesTo(Picture& other) { |
| 30 other.size_ = size_; |
| 31 other.pile_.resize(pile_.size()); |
| 32 for (size_t i = 0; i < pile_.size(); ++i) |
| 33 other.pile_[i] = pile_[i]; |
| 34 } |
| 35 |
| 36 } // namespace cc |
OLD | NEW |