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

Unified Diff: chrome/browser/views/options/advanced_page_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/new_profile_dialog.cc ('k') | chrome/browser/views/repost_form_warning_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/options/advanced_page_view.cc
diff --git a/chrome/browser/views/options/advanced_page_view.cc b/chrome/browser/views/options/advanced_page_view.cc
index fc258f6da058cfd76e9feefe4ad9816671b0a12b..fcf083b58099262b6e7a67d43dc1e53c769419fd 100644
--- a/chrome/browser/views/options/advanced_page_view.cc
+++ b/chrome/browser/views/options/advanced_page_view.cc
@@ -11,6 +11,7 @@
#include "chrome/browser/views/standard_layout.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/l10n_util.h"
+#include "chrome/common/message_box_flags.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/pref_service.h"
#include "chrome/views/controls/message_box_view.h"
@@ -68,7 +69,7 @@ class ResetDefaultsConfirmBox : public views::DialogDelegate {
const int kDialogWidth = 400;
// Also deleted when the window closes.
message_box_view_ = new MessageBoxView(
- MessageBoxView::kFlagHasMessage | MessageBoxView::kFlagHasOKButton,
+ MessageBox::kFlagHasMessage | MessageBox::kFlagHasOKButton,
l10n_util::GetString(IDS_OPTIONS_RESET_MESSAGE).c_str(),
std::wstring(),
kDialogWidth);
« no previous file with comments | « chrome/browser/views/new_profile_dialog.cc ('k') | chrome/browser/views/repost_form_warning_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698