Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: ui/views/widget/native_widget_delegate.h

Issue 434343004: Call OnNativeWindowChanged after maximizing and restoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..230b09b9f08f14d9e344d429e6eebedf6a7c81c6 100644
--- a/ui/views/widget/native_widget_delegate.h
+++ b/ui/views/widget/native_widget_delegate.h
@@ -91,6 +91,9 @@ class VIEWS_EXPORT NativeWidgetDelegate {
// Called when the NativeWidget changed size to |new_size|.
virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) = 0;
+ // Called when the NativeWidget changed its window state.
sky 2014/08/11 16:09:19 Also document that a size change may also include
jackhou1 2014/08/12 05:23:44 Done.
+ 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;

Powered by Google App Engine
This is Rietveld 408576698