Index: ui/views/widget/widget.h |
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h |
index d4770b5fb3874f3b2c96d7687c4555c81e00938e..fad55064589842a6412c84eeaedc38684f20d8de 100644 |
--- a/ui/views/widget/widget.h |
+++ b/ui/views/widget/widget.h |
@@ -756,6 +756,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, |
virtual gfx::Size GetMaximumSize() const OVERRIDE; |
virtual void OnNativeWidgetMove() OVERRIDE; |
virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) OVERRIDE; |
+ virtual void OnNativeWidgetWindowShowStateChanged() OVERRIDE; |
virtual void OnNativeWidgetBeginUserBoundsChange() OVERRIDE; |
virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE; |
virtual bool HasFocusManager() const OVERRIDE; |
@@ -817,6 +818,11 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, |
// window delegate. |
void SaveWindowPlacement(); |
+ // Invokes SaveWindowPlacement() if the native widget has been initialized. |
+ // This is called at times when the native widget may not have been |
+ // initialized. |
+ void SaveWindowPlacementIfInitialized(); |
+ |
// Sizes and positions the window just after it is created. |
void SetInitialBounds(const gfx::Rect& bounds); |