| Index: ui/views/widget/widget.h
|
| diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
|
| index c2f4eb44699d06cb9e6cc293b6ee1098092f45ac..2ab8f55d74df71892d3dc40ac5c6933d9477b384 100644
|
| --- a/ui/views/widget/widget.h
|
| +++ b/ui/views/widget/widget.h
|
| @@ -606,6 +606,12 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
|
| // Returns the bounds of work area in the screen that Widget belongs to.
|
| gfx::Rect GetWorkAreaBoundsInScreen() const;
|
|
|
| + // Notification that our owner is closing.
|
| + // NOTE: this is not invoked for aura as it's currently not needed there.
|
| + // Under aura menus close by way of activation getting reset when the owner
|
| + // closes.
|
| + virtual void OnOwnerClosing();
|
| +
|
| // Overridden from NativeWidgetDelegate:
|
| virtual bool IsModal() const OVERRIDE;
|
| virtual bool IsDialogBox() const OVERRIDE;
|
|
|