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

Unified Diff: components/security_interstitials/core/safe_browsing_loud_error_ui.h

Issue 2955503002: Make interstitial links open in a new tab (Closed)
Patch Set: Fix compilation error Created 3 years, 6 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: components/security_interstitials/core/safe_browsing_loud_error_ui.h
diff --git a/components/security_interstitials/core/safe_browsing_loud_error_ui.h b/components/security_interstitials/core/safe_browsing_loud_error_ui.h
index d5a1e6a4c3567039bd6a50294e84059f92793b2e..4f1c1bd736f2a4f19e37b20478c5ebe7ed2bb453 100644
--- a/components/security_interstitials/core/safe_browsing_loud_error_ui.h
+++ b/components/security_interstitials/core/safe_browsing_loud_error_ui.h
@@ -48,6 +48,10 @@ class SafeBrowsingLoudErrorUI
void PopulateHarmfulLoadTimeData(base::DictionaryValue* load_time_data);
void PopulatePhishingLoadTimeData(base::DictionaryValue* load_time_data);
+ // Helper method which either opens a URL in a new tab or a the current tab
+ // based on the display options setting.
+ void OpenURL(const GURL& url);
+
DISALLOW_COPY_AND_ASSIGN(SafeBrowsingLoudErrorUI);
};

Powered by Google App Engine
This is Rietveld 408576698