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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/picture_pile.h ('k') | webkit/compositor_bindings/web_content_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_pile.cc
diff --git a/cc/picture_pile.cc b/cc/picture_pile.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a33147b09a09773fd36f325609e666d98237b701
--- /dev/null
+++ b/cc/picture_pile.cc
@@ -0,0 +1,36 @@
+// Copyright 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "config.h"
+
+#include "cc/picture_pile.h"
+
+namespace cc {
+
+PicturePile::PicturePile() {
+}
+
+PicturePile::~PicturePile() {
+}
+
+void PicturePile::invalidate(gfx::Rect rect) {
+ // TODO(enne)
+}
+
+void PicturePile::resize(gfx::Size size) {
+ // TODO(enne)
+}
+
+void PicturePile::update(ContentLayerClient* painter) {
+ // TODO(enne)
+}
+
+void PicturePile::pushPropertiesTo(PicturePile& other) {
+ other.size_ = size_;
+ other.pile_.resize(pile_.size());
+ for (size_t i = 0; i < pile_.size(); ++i)
+ other.pile_[i] = pile_[i];
+}
+
+} // namespace cc
« 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