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

Side by Side Diff: ui/views/window/dialog_client_view.h

Issue 1686433002: Remove DialogDelegate::OnClosed() which is redundant with (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ 5 #ifndef UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_
6 #define UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ 6 #define UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "ui/base/ui_base_types.h" 10 #include "ui/base/ui_base_types.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // The dialog buttons. 99 // The dialog buttons.
100 LabelButton* ok_button_; 100 LabelButton* ok_button_;
101 LabelButton* cancel_button_; 101 LabelButton* cancel_button_;
102 102
103 // The extra view shown in the row of buttons; may be NULL. 103 // The extra view shown in the row of buttons; may be NULL.
104 View* extra_view_; 104 View* extra_view_;
105 105
106 // The footnote view shown below the buttons; may be NULL. 106 // The footnote view shown below the buttons; may be NULL.
107 View* footnote_view_; 107 View* footnote_view_;
108 108
109 // True if we've notified the delegate the window is closing and the delegate
110 // allosed the close. In some situations it's possible to get two closes (see
111 // http://crbug.com/71940). This is used to avoid notifying the delegate
112 // twice, which can have bad consequences.
113 bool notified_delegate_;
sky 2016/02/11 22:56:56 Why is this no longer necessary?
114
115 DISALLOW_COPY_AND_ASSIGN(DialogClientView); 109 DISALLOW_COPY_AND_ASSIGN(DialogClientView);
116 }; 110 };
117 111
118 } // namespace views 112 } // namespace views
119 113
120 #endif // UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ 114 #endif // UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_
OLDNEW
« no previous file with comments | « components/app_modal/views/javascript_app_modal_dialog_views.cc ('k') | ui/views/window/dialog_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698