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

Unified Diff: ui/views/controls/webview/web_dialog_view.h

Issue 2871073002: cros: Bind hangup red button on remote controller to close web dialog (Closed)
Patch Set: feedback from xiyuan Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/controls/webview/web_dialog_view.h
diff --git a/ui/views/controls/webview/web_dialog_view.h b/ui/views/controls/webview/web_dialog_view.h
index 6ece059d701ad3acc10f57309972673ca8ce1b5a..00be6467d134c2f7e4a7271b7205c216aeafe283 100644
--- a/ui/views/controls/webview/web_dialog_view.h
+++ b/ui/views/controls/webview/web_dialog_view.h
@@ -143,21 +143,21 @@ class WEBVIEW_EXPORT WebDialogView : public views::ClientView,
// Whether user is attempting to close the dialog and we are processing
// beforeunload event.
- bool is_attempting_close_dialog_;
+ bool is_attempting_close_dialog_ = false;
// Whether beforeunload event has been fired and we have finished processing
// beforeunload event.
- bool before_unload_fired_;
+ bool before_unload_fired_ = false;
// Whether the dialog is closed from WebUI in response to a "dialogClose"
// message.
- bool closed_via_webui_;
+ bool closed_via_webui_ = false;
// A json string returned to WebUI from a "dialogClose" message.
std::string dialog_close_retval_;
// Whether CloseContents() has been called.
- bool close_contents_called_;
+ bool close_contents_called_ = false;
DISALLOW_COPY_AND_ASSIGN(WebDialogView);
};

Powered by Google App Engine
This is Rietveld 408576698