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

Side by Side Diff: ui/views/controls/webview/web_dialog_view.h

Issue 251623003: webui: rename "DialogClose" to "dialogClose" to match other webui messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
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_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_ 5 #ifndef UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_
6 #define UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_ 6 #define UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 views::WebView* web_view_; 131 views::WebView* web_view_;
132 132
133 // Whether user is attempting to close the dialog and we are processing 133 // Whether user is attempting to close the dialog and we are processing
134 // beforeunload event. 134 // beforeunload event.
135 bool is_attempting_close_dialog_; 135 bool is_attempting_close_dialog_;
136 136
137 // Whether beforeunload event has been fired and we have finished processing 137 // Whether beforeunload event has been fired and we have finished processing
138 // beforeunload event. 138 // beforeunload event.
139 bool before_unload_fired_; 139 bool before_unload_fired_;
140 140
141 // Whether the dialog is closed from WebUI in response to a "DialogClose" 141 // Whether the dialog is closed from WebUI in response to a "dialogClose"
142 // message. 142 // message.
143 bool closed_via_webui_; 143 bool closed_via_webui_;
144 144
145 // A json string returned to WebUI from a "DialogClosed" message. 145 // A json string returned to WebUI from a "dialogClose" message.
146 std::string dialog_close_retval_; 146 std::string dialog_close_retval_;
147 147
148 // Whether CloseContents() has been called. 148 // Whether CloseContents() has been called.
149 bool close_contents_called_; 149 bool close_contents_called_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(WebDialogView); 151 DISALLOW_COPY_AND_ASSIGN(WebDialogView);
152 }; 152 };
153 153
154 } // namespace views 154 } // namespace views
155 155
156 #endif // UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_ 156 #endif // UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/constrained_web_dialog_ui.cc ('k') | ui/web_dialogs/web_dialog_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698