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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js

Issue 2025953002: DevTools: generate class-per domain for remote debugging protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js ('k') | third_party/WebKit/Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698