Index: ui/display/chromeos/x11/native_display_delegate_x11.h |
diff --git a/ui/display/chromeos/x11/native_display_delegate_x11.h b/ui/display/chromeos/x11/native_display_delegate_x11.h |
index a276495595c649a0fc3ea6351117b97f828206db..12bed59505851dea3107d85a1d4fe4434c072afd 100644 |
--- a/ui/display/chromeos/x11/native_display_delegate_x11.h |
+++ b/ui/display/chromeos/x11/native_display_delegate_x11.h |
@@ -108,10 +108,14 @@ class DISPLAY_EXPORT NativeDisplayDelegateX11 : public NativeDisplayDelegate { |
RRCrtc* last_used_crtc, |
int index); |
- // Destroys unused CRTCs and parks used CRTCs in a way which allows a |
- // framebuffer resize. This is faster than turning them off, resizing, |
- // then turning them back on. |
- void DestroyUnusedCrtcs(const gfx::Size& new_size); |
+ // Destroys unused CRTCs. |
+ void DestroyUnusedCrtcs(); |
+ |
+ // Parks used CRTCs in a way which allows a framebuffer resize. This is faster |
+ // than turning them off, resizing, then turning them back on. |
+ // |min_screen_size| represent the smallest size between the current |
+ // framebuffer size and the requested framebuffer size. |
+ void UpdateCrtcsForNewFramebuffer(const gfx::Size& min_screen_size); |
bool ConfigureCrtc(RRCrtc crtc, RRMode mode, RROutput output, int x, int y); |