summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_picture_layer.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test/fake_picture_layer.h')
-rw-r--r--cc/test/fake_picture_layer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cc/test/fake_picture_layer.h b/cc/test/fake_picture_layer.h
index 7608644..b5b81de 100644
--- a/cc/test/fake_picture_layer.h
+++ b/cc/test/fake_picture_layer.h
@@ -23,15 +23,21 @@ class FakePictureLayer : public PictureLayer {
size_t update_count() const { return update_count_; }
void reset_update_count() { update_count_ = 0; }
+ size_t push_properties_count() const { return push_properties_count_; }
+ void reset_push_properties_count() { push_properties_count_ = 0; }
+
virtual bool Update(
ResourceUpdateQueue* queue,
const OcclusionTracker* occlusion) OVERRIDE;
+ virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE;
+
private:
explicit FakePictureLayer(ContentLayerClient* client);
virtual ~FakePictureLayer();
size_t update_count_;
+ size_t push_properties_count_;
};
} // namespace cc