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

Unified Diff: chrome/browser/ui/views/network_profile_bubble_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/network_profile_bubble_view.cc
diff --git a/chrome/browser/ui/views/network_profile_bubble_view.cc b/chrome/browser/ui/views/network_profile_bubble_view.cc
index 744c89624ce9ba95f136a900ac9d176a0484e4e4..0e6e54e52a3b8564e666e429a36688600f85ea7b 100644
--- a/chrome/browser/ui/views/network_profile_bubble_view.cc
+++ b/chrome/browser/ui/views/network_profile_bubble_view.cc
@@ -110,9 +110,10 @@ void NetworkProfileBubbleView::LinkClicked(views::Link* source,
ui::DispositionFromEventFlags(event_flags);
content::OpenURLParams params(
GURL("https://sites.google.com/a/chromium.org/dev/administrators/"
- "common-problems-and-solutions#network_profile"),
- content::Referrer(),
- disposition == CURRENT_TAB ? NEW_FOREGROUND_TAB : disposition,
+ "common-problems-and-solutions#network_profile"),
+ 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