Index: ui/aura/window_delegate.h |
diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h |
index c3b79e203cf65692dfd4c46b76f9623dcbfb5c25..34521c8575b7db6924d21b4a8e9686c5c2882d5e 100644 |
--- a/ui/aura/window_delegate.h |
+++ b/ui/aura/window_delegate.h |
@@ -64,6 +64,9 @@ class AURA_EXPORT WindowDelegate { |
// Asks the delegate to paint window contents into the supplied canvas. |
virtual void OnPaint(gfx::Canvas* canvas) = 0; |
+ // Called when the window's device scale factor has changed. |
+ virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0; |
+ |
// Called from Window's destructor before OnWindowDestroyed and before the |
// children have been destroyed and the window has been removed from its |
// parent. |