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

Unified Diff: cc/resources/picture_layer_tiling_set.h

Issue 12583018: cc: Rename PictureLayerTiling(Set) Iterator to CoverageIterator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/resources/picture_layer_tiling.cc ('k') | cc/resources/picture_layer_tiling_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_layer_tiling_set.h
diff --git a/cc/resources/picture_layer_tiling_set.h b/cc/resources/picture_layer_tiling_set.h
index a619a1e093df195caa551b24effb5b888526aae1..c9d32deccd931e982eaa20ca1d2ecb7ecb8e03cb 100644
--- a/cc/resources/picture_layer_tiling_set.h
+++ b/cc/resources/picture_layer_tiling_set.h
@@ -72,13 +72,13 @@ class CC_EXPORT PictureLayerTilingSet {
// through null tiles with valid geometry_rect() until the rect is full.
// If all tiles have resources, the union of all geometry_rects will
// exactly fill rect with no overlap.
- class CC_EXPORT Iterator {
+ class CC_EXPORT CoverageIterator {
public:
- Iterator(const PictureLayerTilingSet* set,
+ CoverageIterator(const PictureLayerTilingSet* set,
float contents_scale,
gfx::Rect content_rect,
float ideal_contents_scale);
- ~Iterator();
+ ~CoverageIterator();
// Visible rect (no borders), always in the space of rect,
// regardless of the relative contents scale of the tiling.
@@ -91,7 +91,7 @@ class CC_EXPORT PictureLayerTilingSet {
Tile* operator->() const;
Tile* operator*() const;
- Iterator& operator++();
+ CoverageIterator& operator++();
operator bool() const;
PictureLayerTiling* CurrentTiling();
@@ -102,7 +102,7 @@ class CC_EXPORT PictureLayerTilingSet {
const PictureLayerTilingSet* set_;
float contents_scale_;
float ideal_contents_scale_;
- PictureLayerTiling::Iterator tiling_iter_;
+ PictureLayerTiling::CoverageIterator tiling_iter_;
int current_tiling_;
int ideal_tiling_;
« no previous file with comments | « cc/resources/picture_layer_tiling.cc ('k') | cc/resources/picture_layer_tiling_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698