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-04-21 22:31:47 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-21 22:31:47 +0000
commit7f1a907d93ee0f7ac527424a70e245343ce0539a (patch)
treef2676a17b23d23c9c044dd64bde0b6601dc256d1 /chrome/browser/views/restart_message_box.cc
parent806aeb954d302328cc75bda71331474d8634675b (diff)
downloadchromium_src-7f1a907d93ee0f7ac527424a70e245343ce0539a.zip
chromium_src-7f1a907d93ee0f7ac527424a70e245343ce0539a.tar.gz
chromium_src-7f1a907d93ee0f7ac527424a70e245343ce0539a.tar.bz2
Revert "Refactor DialogDelegate so the DialogButton enum is in cross platform"
This reverts commit r14146. MessageBox is redefined to MessageBoxW by windows. I need to rename the class. Review URL: http://codereview.chromium.org/87064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14147 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/restart_message_box.cc')
-rw-r--r--chrome/browser/views/restart_message_box.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/views/restart_message_box.cc b/chrome/browser/views/restart_message_box.cc
index f052ab1..e61e23f 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 MessageBox::DIALOGBUTTON_OK;
+ return DialogDelegate::DIALOGBUTTON_OK;
}
-std::wstring RestartMessageBox::GetDialogButtonLabel(
- MessageBox::DialogButton button) const {
- DCHECK(button == MessageBox::DIALOGBUTTON_OK);
+std::wstring RestartMessageBox::GetDialogButtonLabel(DialogButton button)
+ const {
+ DCHECK(button == DIALOGBUTTON_OK);
return l10n_util::GetString(IDS_OK);
}