Index: cc/resources/layer_updater.h |
diff --git a/cc/resources/layer_updater.h b/cc/resources/layer_updater.h |
index 258d2be9a173583bcd5d734286f68d63af8bb02e..4614c5a39895005d8c71c8b30cc2691017160f21 100644 |
--- a/cc/resources/layer_updater.h |
+++ b/cc/resources/layer_updater.h |
@@ -8,6 +8,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "cc/base/cc_export.h" |
+#include "third_party/skia/include/core/SkColor.h" |
#include "ui/gfx/rect.h" |
#include "ui/gfx/vector2d.h" |
@@ -46,7 +47,8 @@ class CC_EXPORT LayerUpdater : public base::RefCounted<LayerUpdater> { |
virtual scoped_ptr<Resource> CreateResource( |
PrioritizedResourceManager* manager) = 0; |
- virtual void PrepareToUpdate(const gfx::Rect& content_rect, |
+ virtual void PrepareToUpdate(const gfx::Size& content_size, |
+ const gfx::Rect& paint_rect, |
const gfx::Size& tile_size, |
float contents_width_scale, |
float contents_height_scale) {} |
@@ -58,6 +60,7 @@ class CC_EXPORT LayerUpdater : public base::RefCounted<LayerUpdater> { |
// Set true by the layer when it is known that the entire output bounds will |
// be rasterized. |
virtual void SetFillsBoundsCompletely(bool fills_bounds) {} |
+ virtual void SetBackgroundColor(SkColor background_color) {} |
protected: |
virtual ~LayerUpdater() {} |