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

Unified Diff: chrome/browser/views/restart_message_box.cc

Issue 56026: Move message flags into a separate header that can be used (Closed)
Patch Set: ctor Created 11 years, 9 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
« no previous file with comments | « chrome/browser/views/repost_form_warning_view.cc ('k') | chrome/browser/views/user_data_dir_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/restart_message_box.cc
diff --git a/chrome/browser/views/restart_message_box.cc b/chrome/browser/views/restart_message_box.cc
index 42f734daf8c8564585902e26009afa3a422949ca..e61e23f7bb0f0d4916175e70571a9bc029b4d88b 100644
--- a/chrome/browser/views/restart_message_box.cc
+++ b/chrome/browser/views/restart_message_box.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/views/restart_message_box.h"
#include "chrome/common/l10n_util.h"
+#include "chrome/common/message_box_flags.h"
#include "chrome/views/controls/message_box_view.h"
#include "chrome/views/window/window.h"
#include "grit/chromium_strings.h"
@@ -52,7 +53,7 @@ RestartMessageBox::RestartMessageBox(HWND parent_hwnd) {
const int kDialogWidth = 400;
// Also deleted when the window closes.
message_box_view_ = new MessageBoxView(
- MessageBoxView::kFlagHasMessage | MessageBoxView::kFlagHasOKButton,
+ MessageBox::kFlagHasMessage | MessageBox::kFlagHasOKButton,
l10n_util::GetString(IDS_OPTIONS_RESTART_REQUIRED).c_str(),
std::wstring(),
kDialogWidth);
« no previous file with comments | « chrome/browser/views/repost_form_warning_view.cc ('k') | chrome/browser/views/user_data_dir_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698