Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: cc/picture_pile.cc

Issue 11265046: cc: Add some impl-side painting stub classes and APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nduca bikesheddery Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/picture_pile.h ('k') | webkit/compositor_bindings/web_content_layer_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_pile.h"
8
9 namespace cc {
10
11 PicturePile::PicturePile() {
12 }
13
14 PicturePile::~PicturePile() {
15 }
16
17 void PicturePile::invalidate(gfx::Rect rect) {
18 // TODO(enne)
19 }
20
21 void PicturePile::resize(gfx::Size size) {
22 // TODO(enne)
23 }
24
25 void PicturePile::update(ContentLayerClient* painter) {
26 // TODO(enne)
27 }
28
29 void PicturePile::pushPropertiesTo(PicturePile& 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
OLDNEW
« no previous file with comments | « cc/picture_pile.h ('k') | webkit/compositor_bindings/web_content_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698