| Index: ui/compositor/layer_delegate.h
|
| diff --git a/ui/compositor/layer_delegate.h b/ui/compositor/layer_delegate.h
|
| index 12b137f0cf2a16ebba5b3962ceee478e9c827b7f..9312e02af91308e02768b028c61ab2811592b1d0 100644
|
| --- a/ui/compositor/layer_delegate.h
|
| +++ b/ui/compositor/layer_delegate.h
|
| @@ -10,6 +10,7 @@
|
|
|
| namespace gfx {
|
| class Canvas;
|
| +class Rect;
|
| }
|
|
|
| namespace ui {
|
| @@ -21,6 +22,10 @@ class COMPOSITOR_EXPORT LayerDelegate {
|
| // clipped to the Layer's invalid rect.
|
| virtual void OnPaintLayer(gfx::Canvas* canvas) = 0;
|
|
|
| + // A notification that this layer has had a delegated frame swap and
|
| + // will be repainted.
|
| + virtual void OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip) = 0;
|
| +
|
| // Called when the layer's device scale factor has changed.
|
| virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0;
|
|
|
|
|