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

Unified Diff: cc/picture_pile.h

Issue 12471007: Part 8 of cc/ directory shuffles: resources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months 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_layer_tiling_unittest.cc ('k') | cc/picture_pile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_pile.h
diff --git a/cc/picture_pile.h b/cc/picture_pile.h
deleted file mode 100644
index b9480d59cfb800e0699ffeb2663b8817cf51b400..0000000000000000000000000000000000000000
--- a/cc/picture_pile.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// 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.
-
-#ifndef CC_PICTURE_PILE_H_
-#define CC_PICTURE_PILE_H_
-
-#include "cc/picture_pile_base.h"
-#include "ui/gfx/rect.h"
-
-namespace cc {
-class PicturePileImpl;
-class Region;
-struct RenderingStats;
-
-class CC_EXPORT PicturePile : public PicturePileBase {
- public:
- PicturePile();
-
- // Re-record parts of the picture that are invalid.
- // Invalidations are in layer space.
- void Update(
- ContentLayerClient* painter,
- SkColor background_color,
- const Region& invalidation,
- gfx::Rect visible_layer_rect,
- RenderingStats* stats);
-
- void set_num_raster_threads(int num_raster_threads) {
- num_raster_threads_ = num_raster_threads;
- }
-
- void set_slow_down_raster_scale_factor(int factor) {
- slow_down_raster_scale_factor_for_debug_ = factor;
- }
-
- private:
- virtual ~PicturePile();
- friend class PicturePileImpl;
-
- // Add an invalidation to this picture list. If the list needs to be
- // entirely recreated, leave it empty. Do not call this on an empty list.
- void InvalidateRect(
- PictureList& picture_list,
- gfx::Rect invalidation);
-
- DISALLOW_COPY_AND_ASSIGN(PicturePile);
-};
-
-} // namespace cc
-
-#endif // CC_PICTURE_PILE_H_
« no previous file with comments | « cc/picture_layer_tiling_unittest.cc ('k') | cc/picture_pile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698