Chromium Code Reviews| Index: cc/layer_tree_impl.h |
| diff --git a/cc/layer_tree_impl.h b/cc/layer_tree_impl.h |
| index 8d65030e13965991d35e2e232baa560e548a2dc2..64a259ba52d2b808a9edb1e6d96fbc8bd954d923 100644 |
| --- a/cc/layer_tree_impl.h |
| +++ b/cc/layer_tree_impl.h |
| @@ -94,6 +94,14 @@ class CC_EXPORT LayerTreeImpl { |
| void UpdateMaxScrollOffset(); |
| + SkColor background_color() const { return background_color_; } |
| + void set_background_color(SkColor color) { background_color_ = color; } |
| + |
| + bool has_transparent_background() const { return has_transparent_background_; } |
|
danakj
2013/01/04 22:14:29
80 cols
|
| + void set_has_transparent_background(bool transparent) { |
| + has_transparent_background_ = transparent; |
| + } |
| + |
| // Updates draw properties and render surface layer list |
| void UpdateDrawProperties(); |
| @@ -120,6 +128,8 @@ protected: |
| HeadsUpDisplayLayerImpl* hud_layer_; |
| LayerImpl* root_scroll_layer_; |
| LayerImpl* currently_scrolling_layer_; |
| + SkColor background_color_; |
| + bool has_transparent_background_; |
| typedef base::hash_map<int, LayerImpl*> LayerIdMap; |
| LayerIdMap layer_id_map_; |