| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @constructor | 6 * @constructor |
| 7 * @extends {WebInspector.PanelWithSidebar} | 7 * @extends {WebInspector.PanelWithSidebar} |
| 8 * @implements {WebInspector.TargetManager.Observer} | 8 * @implements {WebInspector.TargetManager.Observer} |
| 9 */ | 9 */ |
| 10 WebInspector.SecurityPanel = function() | 10 WebInspector.SecurityPanel = function() |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 */ | 298 */ |
| 299 WebInspector.SecurityPanel._instance = function() | 299 WebInspector.SecurityPanel._instance = function() |
| 300 { | 300 { |
| 301 if (!WebInspector.SecurityPanel._instanceObject) | 301 if (!WebInspector.SecurityPanel._instanceObject) |
| 302 WebInspector.SecurityPanel._instanceObject = new WebInspector.SecurityPa
nel(); | 302 WebInspector.SecurityPanel._instanceObject = new WebInspector.SecurityPa
nel(); |
| 303 return WebInspector.SecurityPanel._instanceObject; | 303 return WebInspector.SecurityPanel._instanceObject; |
| 304 } | 304 } |
| 305 | 305 |
| 306 /** | 306 /** |
| 307 * @param {string} text | 307 * @param {string} text |
| 308 * @param {!NetworkAgent.CertificateId} certificateId | 308 * @param {!SecurityAgent.CertificateId} certificateId |
| 309 * @return {!Element} | 309 * @return {!Element} |
| 310 */ | 310 */ |
| 311 WebInspector.SecurityPanel.createCertificateViewerButton = function(text, certif
icateId) | 311 WebInspector.SecurityPanel.createCertificateViewerButton = function(text, certif
icateId) |
| 312 { | 312 { |
| 313 /** | 313 /** |
| 314 * @param {!Event} e | 314 * @param {!Event} e |
| 315 */ | 315 */ |
| 316 function showCertificateViewer(e) | 316 function showCertificateViewer(e) |
| 317 { | 317 { |
| 318 e.consume(); | 318 e.consume(); |
| (...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 936 row.createChild("div").textContent = key; | 936 row.createChild("div").textContent = key; |
| 937 | 937 |
| 938 var valueDiv = row.createChild("div"); | 938 var valueDiv = row.createChild("div"); |
| 939 if (typeof value === "string") { | 939 if (typeof value === "string") { |
| 940 valueDiv.textContent = value; | 940 valueDiv.textContent = value; |
| 941 } else { | 941 } else { |
| 942 valueDiv.appendChild(value); | 942 valueDiv.appendChild(value); |
| 943 } | 943 } |
| 944 } | 944 } |
| 945 } | 945 } |
| OLD | NEW |