| Index: ui/views/window/dialog_client_view.h
|
| diff --git a/ui/views/window/dialog_client_view.h b/ui/views/window/dialog_client_view.h
|
| index 8f4e0fc0d5b8cf1025764fab36b319404eb0a019..32f6a617b030d97968b6829a3b9b5cee05e95f13 100644
|
| --- a/ui/views/window/dialog_client_view.h
|
| +++ b/ui/views/window/dialog_client_view.h
|
| @@ -93,6 +93,9 @@
|
| // Returns the insets for the buttons and extra view.
|
| gfx::Insets GetButtonRowInsets() const;
|
|
|
| + // Closes the widget.
|
| + void Close();
|
| +
|
| // Sets up the focus chain for the child views. This is required since the
|
| // delegate may choose to add/remove views at any time.
|
| void SetupFocusChain();
|
| @@ -108,10 +111,10 @@
|
| View* footnote_view_;
|
|
|
| // True if we've notified the delegate the window is closing and the delegate
|
| - // allowed the close. In some situations it's possible to get two closes (see
|
| + // allosed the close. In some situations it's possible to get two closes (see
|
| // http://crbug.com/71940). This is used to avoid notifying the delegate
|
| // twice, which can have bad consequences.
|
| - bool delegate_allowed_close_;
|
| + bool notified_delegate_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(DialogClientView);
|
| };
|
|
|