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 1108904f5d519fd81f1e01b398fe39f990138a55..eab82df461b3311f681eae96f5c7456b9dec447d 100644 |
--- a/ui/views/window/dialog_client_view.h |
+++ b/ui/views/window/dialog_client_view.h |
@@ -93,9 +93,6 @@ class VIEWS_EXPORT DialogClientView : public ClientView, |
// Returns the insets for the buttons and extra view. |
gfx::Insets GetButtonRowInsets() const; |
- // Closes the widget. |
- void Close(); |
- |
// The dialog buttons. |
LabelButton* ok_button_; |
LabelButton* cancel_button_; |
@@ -107,10 +104,10 @@ class VIEWS_EXPORT DialogClientView : public ClientView, |
View* footnote_view_; |
// True if we've notified the delegate the window is closing and the delegate |
- // allosed the close. In some situations it's possible to get two closes (see |
+ // allowed 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 notified_delegate_; |
+ bool delegate_allowed_close_; |
DISALLOW_COPY_AND_ASSIGN(DialogClientView); |
}; |