summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/restart_message_box.cc
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 23:07:30 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 23:07:30 +0000
commit2e4bdcdc8cdbffe656700a4028679f0569ad6245 (patch)
tree633b08aad2d776a54eda7296bf2af2ee6aa52e0c /chrome/browser/views/restart_message_box.cc
parent698835d3e64c96bb5e7a29ab66d2ecbee375fc63 (diff)
downloadchromium_src-2e4bdcdc8cdbffe656700a4028679f0569ad6245.zip
chromium_src-2e4bdcdc8cdbffe656700a4028679f0569ad6245.tar.gz
chromium_src-2e4bdcdc8cdbffe656700a4028679f0569ad6245.tar.bz2
Move message flags into a separate header that can be used
outside the views system. Mac will need this as well when implementing message boxes. Review URL: http://codereview.chromium.org/56026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12722 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/restart_message_box.cc')
-rw-r--r--chrome/browser/views/restart_message_box.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/restart_message_box.cc b/chrome/browser/views/restart_message_box.cc
index 42f734d..e61e23f 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);