Chromium Code Reviews| Index: ui/views/widget/native_widget_delegate.h |
| diff --git a/ui/views/widget/native_widget_delegate.h b/ui/views/widget/native_widget_delegate.h |
| index c18b5fc80158f5704f3d5d080c7782513f699ac4..f846cb7d99d7987a9d18940633a73da1b6abc1b1 100644 |
| --- a/ui/views/widget/native_widget_delegate.h |
| +++ b/ui/views/widget/native_widget_delegate.h |
| @@ -89,8 +89,15 @@ class VIEWS_EXPORT NativeWidgetDelegate { |
| virtual void OnNativeWidgetMove() = 0; |
| // Called when the NativeWidget changed size to |new_size|. |
| + // This may happen at the same time as OnNativeWidgetWindowShowStateChanged, |
| + // e.g. maximize. |
| virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) = 0; |
| + // Called when the NativeWidget changed its window state. |
|
sky
2014/08/12 13:21:28
changed->changes
jackhou1
2014/08/13 01:57:51
Done.
|
| + // This may happen at the same time as OnNativeWidgetSizeChanged, e.g. |
| + // maximize. |
| + virtual void OnNativeWidgetWindowShowStateChanged() = 0; |
| + |
| // Called when the user begins/ends to change the bounds of the window. |
| virtual void OnNativeWidgetBeginUserBoundsChange() = 0; |
| virtual void OnNativeWidgetEndUserBoundsChange() = 0; |