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

Unified Diff: chrome/browser/resources/security_warnings/safe_browsing.js

Issue 865943002: Update SSL/malware/net error interstitial design (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix background colour for nav-wrapper on safe browsing state Created 5 years, 11 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/resources/security_warnings/safe_browsing.js
diff --git a/chrome/browser/resources/security_warnings/safe_browsing.js b/chrome/browser/resources/security_warnings/safe_browsing.js
index c39aaf2b562a31a33cbd0180c102e24f47f664e9..3673da5ceefcc616a57118fa3d285c562b05d3a0 100644
--- a/chrome/browser/resources/security_warnings/safe_browsing.js
+++ b/chrome/browser/resources/security_warnings/safe_browsing.js
@@ -26,6 +26,7 @@ function setupCheckbox() {
$('opt-in-label').innerHTML = loadTimeData.getString('optInLink');
$('opt-in-checkbox').checked = loadTimeData.getBoolean(SB_BOX_CHECKED);
$('malware-opt-in').classList.remove('hidden');
+ $('body').classList.add('safe-browsing-has-checkbox');
$('opt-in-checkbox').addEventListener('click', function() {
sendCommand(

Powered by Google App Engine
This is Rietveld 408576698