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

Unified Diff: chrome/browser/resources/ssl/roadblock.js

Issue 437113002: Delete the old SSL interstitial and Finch trial (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing IDS_FLAGS_SSL_INTERSTITIAL strings Created 6 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
« no previous file with comments | « chrome/browser/resources/ssl/roadblock.html ('k') | chrome/browser/resources/ssl/ssl_errors_common.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ssl/roadblock.js
diff --git a/chrome/browser/resources/ssl/roadblock.js b/chrome/browser/resources/ssl/roadblock.js
deleted file mode 100644
index f9c58608e267cfe02977f507d9332c8e5ec3f434..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/ssl/roadblock.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// UI modifications and event listeners that take place after load.
-function setupEvents() {
- $('proceed-button').hidden = false;
- $('proceed-button').addEventListener('click', function() {
- sendCommand(CMD_PROCEED);
- });
-
- var details = document.querySelector('details.more');
- if ($('more-info-title').textContent == '') {
- details.hidden = true;
- } else {
- details.addEventListener('toggle', function handleToggle() {
- if (!details.open)
- return;
- sendCommand(CMD_MORE);
- details.removeEventListener('toggle', handleToggle);
- }, false);
- }
-
- $('exit-button').addEventListener('click', function() {
- sendCommand(CMD_DONT_PROCEED);
- });
-}
-
-document.addEventListener('DOMContentLoaded', setupEvents);
« no previous file with comments | « chrome/browser/resources/ssl/roadblock.html ('k') | chrome/browser/resources/ssl/ssl_errors_common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698