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

Unified Diff: chrome/browser/ui/views/download/download_feedback_dialog_view.cc

Issue 2248873002: Convert WindowOpenDisposition to an enum class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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/views/download/download_feedback_dialog_view.cc
diff --git a/chrome/browser/ui/views/download/download_feedback_dialog_view.cc b/chrome/browser/ui/views/download/download_feedback_dialog_view.cc
index 87e155c898aee4ff4f39cd9d69351568ab767552..9eed1707ffaf8dfd31de59ab7171c53acab9d8b0 100644
--- a/chrome/browser/ui/views/download/download_feedback_dialog_view.cc
+++ b/chrome/browser/ui/views/download/download_feedback_dialog_view.cc
@@ -156,8 +156,9 @@ void DownloadFeedbackDialogView::LinkClicked(
ui::DispositionFromEventFlags(event_flags);
content::OpenURLParams params(
GURL(l10n_util::GetStringUTF8(IDS_SAFE_BROWSING_PRIVACY_POLICY_URL)),
- content::Referrer(),
- disposition == CURRENT_TAB ? NEW_FOREGROUND_TAB : disposition,
+ content::Referrer(), disposition == WindowOpenDisposition::CURRENT_TAB
+ ? WindowOpenDisposition::NEW_FOREGROUND_TAB
+ : disposition,
ui::PAGE_TRANSITION_LINK, false);
navigator_->OpenURL(params);
}

Powered by Google App Engine
This is Rietveld 408576698