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

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

Issue 10928173: Safe Browsing phishing interstitial redesign. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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/safe_browsing/malware_block_v2.js
diff --git a/chrome/browser/resources/safe_browsing/malware_block_v2.js b/chrome/browser/resources/safe_browsing/malware_block_v2.js
index 50a2a442a749436261eb9434d540d51815abbc0b..26d845f5c8dfb2a918898f84e20467c3a6ab6aca 100644
--- a/chrome/browser/resources/safe_browsing/malware_block_v2.js
+++ b/chrome/browser/resources/safe_browsing/malware_block_v2.js
@@ -56,6 +56,9 @@ document.addEventListener('DOMContentLoaded', function() {
$('show-diagnostic-link').onclick = function(e) {
sendCommand('showDiagnostic');
};
+ $('report-error-link').onclick = function(e) {
+ sendCommand('reportError');
+ };
$('see-more-link').onclick = function(e) {
seeMore();
// preventDefaultOnPoundLinkClicks doesn't work for this link since it

Powered by Google App Engine
This is Rietveld 408576698