Index: ui/compositor/layer_delegate.h |
diff --git a/ui/compositor/layer_delegate.h b/ui/compositor/layer_delegate.h |
index 292e3991d30837477ba25bb44b7d37b1b68dbd65..cb003663e6a847481ebf6f21d6736301a110b89d 100644 |
--- a/ui/compositor/layer_delegate.h |
+++ b/ui/compositor/layer_delegate.h |
@@ -21,6 +21,9 @@ class COMPOSITOR_EXPORT LayerDelegate { |
// clipped to the Layer's invalid rect. |
virtual void OnPaintLayer(gfx::Canvas* canvas) = 0; |
+ // Called when the layer's device scale factor has changed. |
+ virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0; |
+ |
protected: |
virtual ~LayerDelegate() {} |
}; |