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

Unified Diff: cc/test/fake_content_layer_client.h

Issue 903273002: Update from https://crrev.com/315085 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/surfaces/surface_factory_unittest.cc ('k') | cc/test/fake_content_layer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_content_layer_client.h
diff --git a/cc/test/fake_content_layer_client.h b/cc/test/fake_content_layer_client.h
index 1060d0845889aa154bd51b1481c893746ed6f300..d53d34e2ea3d95ef6e716339de53df332396aa92 100644
--- a/cc/test/fake_content_layer_client.h
+++ b/cc/test/fake_content_layer_client.h
@@ -27,13 +27,12 @@ class FakeContentLayerClient : public ContentLayerClient {
FakeContentLayerClient();
~FakeContentLayerClient() override;
- void PaintContents(
- SkCanvas* canvas,
- const gfx::Rect& rect,
- ContentLayerClient::GraphicsContextStatus gc_status) override;
+ void PaintContents(SkCanvas* canvas,
+ const gfx::Rect& rect,
+ PaintingControlSetting painting_control) override;
scoped_refptr<DisplayItemList> PaintContentsToDisplayList(
const gfx::Rect& clip,
- GraphicsContextStatus gc_status) override;
+ PaintingControlSetting painting_control) override;
bool FillsBoundsCompletely() const override;
void set_fill_with_nonsolid_color(bool nonsolid) {
@@ -56,8 +55,8 @@ class FakeContentLayerClient : public ContentLayerClient {
SkCanvas* last_canvas() const { return last_canvas_; }
- ContentLayerClient::GraphicsContextStatus last_context_status() const {
- return last_context_status_;
+ PaintingControlSetting last_painting_control() const {
+ return last_painting_control_;
}
private:
@@ -68,7 +67,7 @@ class FakeContentLayerClient : public ContentLayerClient {
RectPaintVector draw_rects_;
BitmapVector draw_bitmaps_;
SkCanvas* last_canvas_;
- ContentLayerClient::GraphicsContextStatus last_context_status_;
+ PaintingControlSetting last_painting_control_;
};
} // namespace cc
« no previous file with comments | « cc/surfaces/surface_factory_unittest.cc ('k') | cc/test/fake_content_layer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698