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

Unified Diff: chrome/browser/ui/javascript_dialogs/javascript_dialog_mac.cc

Issue 2684093002: Rename JavaScript "messages" to "dialogs". (Closed)
Patch Set: win fox Created 3 years, 10 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
Index: chrome/browser/ui/javascript_dialogs/javascript_dialog_mac.cc
diff --git a/chrome/browser/ui/javascript_dialogs/javascript_dialog_mac.cc b/chrome/browser/ui/javascript_dialogs/javascript_dialog_mac.cc
index 54cebcb9853b1ec6d6cc5ddc5b874e95fcefcfe5..3865f91acc60fb528ee15df492cc296425247759 100644
--- a/chrome/browser/ui/javascript_dialogs/javascript_dialog_mac.cc
+++ b/chrome/browser/ui/javascript_dialogs/javascript_dialog_mac.cc
@@ -22,18 +22,18 @@ base::WeakPtr<JavaScriptDialog> JavaScriptDialog::Create(
content::WebContents* parent_web_contents,
content::WebContents* alerting_web_contents,
const base::string16& title,
- content::JavaScriptMessageType message_type,
+ content::JavaScriptDialogType dialog_type,
const base::string16& message_text,
const base::string16& default_prompt_text,
const content::JavaScriptDialogManager::DialogClosedCallback&
dialog_callback) {
if (ui::MaterialDesignController::IsSecondaryUiMaterial()) {
return JavaScriptDialogViews::Create(
- parent_web_contents, alerting_web_contents, title, message_type,
+ parent_web_contents, alerting_web_contents, title, dialog_type,
message_text, default_prompt_text, dialog_callback);
} else {
return JavaScriptDialogCocoa::Create(
- parent_web_contents, alerting_web_contents, title, message_type,
+ parent_web_contents, alerting_web_contents, title, dialog_type,
message_text, default_prompt_text, dialog_callback);
}
}

Powered by Google App Engine
This is Rietveld 408576698