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

Unified Diff: chrome/browser/ui/views/repost_form_warning_view.cc

Issue 8536026: Convert MessageBoxFlags class into an enum. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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: chrome/browser/ui/views/repost_form_warning_view.cc
diff --git a/chrome/browser/ui/views/repost_form_warning_view.cc b/chrome/browser/ui/views/repost_form_warning_view.cc
index c7ade240707458cdc4cdb96f6d5e83b403a6ffc3..e53957a24e094a0550c7118adf6aba2147dbb06f 100644
--- a/chrome/browser/ui/views/repost_form_warning_view.cc
+++ b/chrome/browser/ui/views/repost_form_warning_view.cc
@@ -36,7 +36,7 @@ RepostFormWarningView::RepostFormWarningView(
: controller_(new RepostFormWarningController(tab_contents)),
message_box_view_(NULL) {
message_box_view_ = new views::MessageBoxView(
- ui::MessageBoxFlags::kIsConfirmMessageBox,
+ ui::MESSAGE_BOX_IS_CONFIRM_DIALOG,
tfarina 2011/11/12 12:40:22 MessageBoxView does not check any of the flags pas
tfarina 2011/11/12 22:33:56 Scott, I think this patch http://codereview.chromi
l10n_util::GetStringUTF16(IDS_HTTP_POST_WARNING),
string16());
TabContentsWrapper* wrapper =

Powered by Google App Engine
This is Rietveld 408576698