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

Unified Diff: content/browser/javascript_dialogs.h

Issue 8553001: views: Add an Options enum to MessageBoxView control. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 9 years, 1 month 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: content/browser/javascript_dialogs.h
diff --git a/content/browser/javascript_dialogs.h b/content/browser/javascript_dialogs.h
index 175c1910dda88c1abe0819c152f5d134364b7636..98600ded7504b368121ca3d8b8af3baecb53f4a5 100644
--- a/content/browser/javascript_dialogs.h
+++ b/content/browser/javascript_dialogs.h
@@ -8,6 +8,7 @@
#include "base/string16.h"
#include "content/common/content_export.h"
+#include "ui/base/message_box_type.h"
#include "ui/gfx/native_widget_types.h"
namespace IPC {
@@ -56,7 +57,7 @@ class JavaScriptDialogCreator {
virtual void RunJavaScriptDialog(JavaScriptDialogDelegate* delegate,
TitleType title_type,
const string16& title,
- int dialog_flags,
+ ui::MessageBoxType message_box_type,
const string16& message_text,
const string16& default_prompt_text,
IPC::Message* reply_message,

Powered by Google App Engine
This is Rietveld 408576698