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

Unified Diff: ui/views/controls/message_box_view.cc

Issue 2107493002: Offer user to send feedback from profile error dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and sky comments Created 4 years, 5 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
« sql/connection.h ('K') | « ui/views/controls/message_box_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/message_box_view.cc
diff --git a/ui/views/controls/message_box_view.cc b/ui/views/controls/message_box_view.cc
index 8633ffbd2a5ad2427b8f809cbf1f1fe9ce6954a8..3b433481187ae8c9ac5aa601616805964c3d06d7 100644
--- a/ui/views/controls/message_box_view.cc
+++ b/ui/views/controls/message_box_view.cc
@@ -94,6 +94,10 @@ base::string16 MessageBoxView::GetInputText() {
return prompt_field_ ? prompt_field_->text() : base::string16();
}
+bool MessageBoxView::HasCheckBox() const {
+ return !!checkbox_;
sky 2016/07/27 15:12:56 nit: this is cheap, you make as well inline.
afakhry 2016/07/27 18:53:55 Done.
+}
+
bool MessageBoxView::IsCheckBoxSelected() {
return checkbox_ ? checkbox_->checked() : false;
}
« sql/connection.h ('K') | « ui/views/controls/message_box_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698