diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 23:07:30 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 23:07:30 +0000 |
commit | 2e4bdcdc8cdbffe656700a4028679f0569ad6245 (patch) | |
tree | 633b08aad2d776a54eda7296bf2af2ee6aa52e0c /chrome/browser/views/new_profile_dialog.cc | |
parent | 698835d3e64c96bb5e7a29ab66d2ecbee375fc63 (diff) | |
download | chromium_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/new_profile_dialog.cc')
-rw-r--r-- | chrome/browser/views/new_profile_dialog.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/views/new_profile_dialog.cc b/chrome/browser/views/new_profile_dialog.cc index 8b2faea..fbb9c8e 100644 --- a/chrome/browser/views/new_profile_dialog.cc +++ b/chrome/browser/views/new_profile_dialog.cc @@ -10,6 +10,7 @@ #include "base/file_util.h" #include "chrome/browser/user_data_manager.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/controls/text_field.h" #include "chrome/views/view.h" @@ -29,9 +30,9 @@ NewProfileDialog::NewProfileDialog() { IDS_NEW_PROFILE_DIALOG_LABEL_TEXT); const int kDialogWidth = views::Window::GetLocalizedContentsWidth( IDS_NEW_PROFILE_DIALOG_WIDTH_CHARS); - const int kMessageBoxFlags = MessageBoxView::kFlagHasOKButton | - MessageBoxView::kFlagHasCancelButton | - MessageBoxView::kFlagHasPromptField; + const int kMessageBoxFlags = MessageBox::kFlagHasOKButton | + MessageBox::kFlagHasCancelButton | + MessageBox::kFlagHasPromptField; message_box_view_ = new MessageBoxView(kMessageBoxFlags, message_text.c_str(), std::wstring(), |