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

Unified Diff: chrome/browser/ui/views/restart_message_box.cc

Issue 8553001: views: Add an Options enum to MessageBoxView control. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding an IPC_MESSAGE_EXPORT to line 30 of param_traits_macro.h makes it link in shared build Created 9 years 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
Index: chrome/browser/ui/views/restart_message_box.cc
diff --git a/chrome/browser/ui/views/restart_message_box.cc b/chrome/browser/ui/views/restart_message_box.cc
index 633895e01a4d8fdfa84edc7794e0494c8d5df391..a85f6e4c5a47b67eeeee5d66586d18fa45442060 100644
--- a/chrome/browser/ui/views/restart_message_box.cc
+++ b/chrome/browser/ui/views/restart_message_box.cc
@@ -8,7 +8,6 @@
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
-#include "ui/base/message_box_flags.h"
#include "ui/views/controls/message_box_view.h"
#include "ui/views/widget/widget.h"
@@ -62,8 +61,7 @@ RestartMessageBox::RestartMessageBox(gfx::NativeWindow parent_window) {
const int kDialogWidth = 400;
// Also deleted when the window closes.
message_box_view_ = new views::MessageBoxView(
- ui::MessageBoxFlags::kFlagHasMessage |
- ui::MessageBoxFlags::kFlagHasOKButton,
+ views::MessageBoxView::NO_OPTIONS,
l10n_util::GetStringUTF16(IDS_OPTIONS_RELAUNCH_REQUIRED),
string16(),
kDialogWidth);
« no previous file with comments | « chrome/browser/ui/views/repost_form_warning_view.cc ('k') | chrome/browser/ui/views/simple_message_box_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698