summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/restart_message_box.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/restart_message_box.cc')
-rw-r--r--chrome/browser/views/restart_message_box.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/views/restart_message_box.cc b/chrome/browser/views/restart_message_box.cc
index e61e23f..e9728cb 100644
--- a/chrome/browser/views/restart_message_box.cc
+++ b/chrome/browser/views/restart_message_box.cc
@@ -21,12 +21,12 @@ void RestartMessageBox::ShowMessageBox(HWND parent_hwnd) {
}
int RestartMessageBox::GetDialogButtons() const {
- return DialogDelegate::DIALOGBUTTON_OK;
+ return MessageBoxFlags::DIALOGBUTTON_OK;
}
-std::wstring RestartMessageBox::GetDialogButtonLabel(DialogButton button)
- const {
- DCHECK(button == DIALOGBUTTON_OK);
+std::wstring RestartMessageBox::GetDialogButtonLabel(
+ MessageBoxFlags::DialogButton button) const {
+ DCHECK(button == MessageBoxFlags::DIALOGBUTTON_OK);
return l10n_util::GetString(IDS_OK);
}
@@ -53,7 +53,7 @@ RestartMessageBox::RestartMessageBox(HWND parent_hwnd) {
const int kDialogWidth = 400;
// Also deleted when the window closes.
message_box_view_ = new MessageBoxView(
- MessageBox::kFlagHasMessage | MessageBox::kFlagHasOKButton,
+ MessageBoxFlags::kFlagHasMessage | MessageBoxFlags::kFlagHasOKButton,
l10n_util::GetString(IDS_OPTIONS_RESTART_REQUIRED).c_str(),
std::wstring(),
kDialogWidth);