From 7f1a907d93ee0f7ac527424a70e245343ce0539a Mon Sep 17 00:00:00 2001 From: "tc@google.com" Date: Tue, 21 Apr 2009 22:31:47 +0000 Subject: 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 --- chrome/browser/views/first_run_view_base.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chrome/browser/views/first_run_view_base.cc') diff --git a/chrome/browser/views/first_run_view_base.cc b/chrome/browser/views/first_run_view_base.cc index 2115d65..c3df0e2 100644 --- a/chrome/browser/views/first_run_view_base.cc +++ b/chrome/browser/views/first_run_view_base.cc @@ -151,9 +151,8 @@ bool FirstRunViewBase::HasAlwaysOnTopMenu() const { return false; } -std::wstring FirstRunViewBase::GetDialogButtonLabel( - MessageBox::DialogButton button) const { - if (MessageBox::DIALOGBUTTON_OK == button) +std::wstring FirstRunViewBase::GetDialogButtonLabel(DialogButton button) const { + if (DIALOGBUTTON_OK == button) return l10n_util::GetString(IDS_FIRSTRUN_DLG_OK); // The other buttons get the default text. return std::wstring(); -- cgit v1.1