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

Unified Diff: cc/test/fake_picture_pile_impl.h

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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/test/fake_picture_pile.h ('k') | cc/test/fake_picture_pile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_pile_impl.h
diff --git a/cc/test/fake_picture_pile_impl.h b/cc/test/fake_picture_pile_impl.h
index 10c769aefa6fc279900a4f967a4cf5df2ca1b6b5..f1a9d31ad3da684c651b42ed7484c39dae8ef2a8 100644
--- a/cc/test/fake_picture_pile_impl.h
+++ b/cc/test/fake_picture_pile_impl.h
@@ -72,12 +72,24 @@ class FakePicturePileImpl : public PicturePileImpl {
is_solid_color_ = is_solid_color;
}
+ bool HasRecordingAt(int x, int y) const;
+ void SetIsMask(bool mask) { is_mask_ = mask; }
+
+ int num_tiles_x() const { return tiling_.num_tiles_x(); }
+ int num_tiles_y() const { return tiling_.num_tiles_y(); }
+
+ void SetMinContentsScale(float scale);
+ void SetBufferPixels(int new_buffer_pixels);
+ void Clear();
+
protected:
FakePicturePileImpl();
+ explicit FakePicturePileImpl(const PicturePile* other);
~FakePicturePileImpl() override;
FakeContentLayerClient client_;
SkPaint default_paint_;
+ SkTileGridFactory::TileGridInfo tile_grid_info_;
};
} // namespace cc
« no previous file with comments | « cc/test/fake_picture_pile.h ('k') | cc/test/fake_picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698