Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2628)

Unified Diff: chrome/browser/views/repost_form_warning_view.cc

Issue 56026: Move message flags into a separate header that can be used (Closed)
Patch Set: ctor Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/options/advanced_page_view.cc ('k') | chrome/browser/views/restart_message_box.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/repost_form_warning_view.cc
diff --git a/chrome/browser/views/repost_form_warning_view.cc b/chrome/browser/views/repost_form_warning_view.cc
index 583de4c898776c796743e525920d43e1dded2f02..b8e9153f23b34c8b50ea96ef4a6bedbdeb913acc 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
« no previous file with comments | « chrome/browser/views/options/advanced_page_view.cc ('k') | chrome/browser/views/restart_message_box.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698