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

Unified Diff: content/browser/tab_contents/tab_contents.cc

Issue 8553001: views: Add an Options enum to MessageBoxView control. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/tab_contents/tab_contents.cc
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index f7fa51e22d64955008f2cc2450149a06271e6b85..34913b46d34deeac6a6792698b64a80757e5e678 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -1780,7 +1780,7 @@ void TabContents::RunJavaScriptMessage(
const string16& message,
const string16& default_prompt,
const GURL& frame_url,
- const int flags,
+ ui::JavascriptMessageType javascript_message_type,
IPC::Message* reply_msg,
bool* did_suppress_message) {
// Suppress JavaScript dialogs when requested. Also suppress messages when
@@ -1810,7 +1810,7 @@ void TabContents::RunJavaScriptMessage(
dialog_creator_->RunJavaScriptDialog(this,
title_type,
title,
- flags,
+ javascript_message_type,
message,
default_prompt,
reply_msg,

Powered by Google App Engine
This is Rietveld 408576698