summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/repost_form_warning_view.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/repost_form_warning_view.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/repost_form_warning_view.cc')
-rw-r--r--chrome/browser/views/repost_form_warning_view.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/repost_form_warning_view.cc b/chrome/browser/views/repost_form_warning_view.cc
index 583de4c..b8e9153 100644
--- a/chrome/browser/views/repost_form_warning_view.cc
+++ b/chrome/browser/views/repost_form_warning_view.cc
@@ -7,6 +7,7 @@
#include "chrome/browser/browser_list.h"
#include "chrome/browser/tab_contents/navigation_controller.h"
#include "chrome/common/l10n_util.h"
+#include "chrome/common/message_box_flags.h"
#include "chrome/common/notification_service.h"
#include "chrome/views/controls/message_box_view.h"
#include "chrome/views/window/window.h"
@@ -24,7 +25,7 @@ RepostFormWarningView::RepostFormWarningView(
: navigation_controller_(navigation_controller),
message_box_view_(NULL) {
message_box_view_ = new MessageBoxView(
- MessageBoxView::kIsConfirmMessageBox,
+ MessageBox::kIsConfirmMessageBox,
l10n_util::GetString(IDS_HTTP_POST_WARNING),
L"");
// TODO(beng): fix this - this dialog box should be shown by a method on the