Index: cc/layers/content_layer_client.h |
diff --git a/cc/layers/content_layer_client.h b/cc/layers/content_layer_client.h |
index c8d3a7e9873a5c1282dc0a3dda019f8191516979..4f9c754ec909f9d855276323797b6000e1f54c8d 100644 |
--- a/cc/layers/content_layer_client.h |
+++ b/cc/layers/content_layer_client.h |
@@ -19,18 +19,19 @@ namespace cc { |
class CC_EXPORT ContentLayerClient { |
public: |
- enum GraphicsContextStatus { |
- GRAPHICS_CONTEXT_DISABLED, |
- GRAPHICS_CONTEXT_ENABLED |
+ enum PaintingControlSetting { |
+ PAINTING_BEHAVIOR_NORMAL, |
+ DISPLAY_LIST_CONSTRUCTION_DISABLED, |
+ DISPLAY_LIST_CACHING_DISABLED |
}; |
virtual void PaintContents(SkCanvas* canvas, |
const gfx::Rect& clip, |
- GraphicsContextStatus gc_status) = 0; |
+ PaintingControlSetting painting_status) = 0; |
virtual scoped_refptr<DisplayItemList> PaintContentsToDisplayList( |
const gfx::Rect& clip, |
- GraphicsContextStatus gc_status) = 0; |
+ PaintingControlSetting painting_status) = 0; |
// If true the layer may skip clearing the background before rasterizing, |
// because it will cover any uncleared data with content. |