diff options
Diffstat (limited to 'views/layer_helper.h')
-rw-r--r-- | views/layer_helper.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/views/layer_helper.h b/views/layer_helper.h index bc6a177..fa26170 100644 --- a/views/layer_helper.h +++ b/views/layer_helper.h @@ -73,6 +73,10 @@ class LayerHelper { } bool layer_updated_externally() const { return layer_updated_externally_; } + // If true the complete bounds of the view needs to be painted. + void set_needs_paint_all(bool value) { needs_paint_all_ = value; } + bool needs_paint_all() const { return needs_paint_all_; } + // Returns true if the layer needs to be used. bool ShouldPaintToLayer() const; @@ -101,6 +105,8 @@ class LayerHelper { bool property_setter_explicitly_set_; + bool needs_paint_all_; + DISALLOW_COPY_AND_ASSIGN(LayerHelper); }; |