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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHost.js

Issue 2302873005: DevTools: allow devtools front-end to show certificate viewer. (Closed)
Patch Set: review comments. Created 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 366
367 /** 367 /**
368 * @override 368 * @override
369 * @param {string} shortcuts 369 * @param {string} shortcuts
370 */ 370 */
371 setWhitelistedShortcuts: function(shortcuts) 371 setWhitelistedShortcuts: function(shortcuts)
372 { 372 {
373 }, 373 },
374 374
375 /** 375 /**
376 * @param {!Array<string>} certChain
377 * @override
378 */
379 showCertificateViewer: function(certChain)
380 {
381 },
382
383 /**
376 * @override 384 * @override
377 * @return {boolean} 385 * @return {boolean}
378 */ 386 */
379 isUnderTest: function() 387 isUnderTest: function()
380 { 388 {
381 return false; 389 return false;
382 }, 390 },
383 391
384 /** 392 /**
385 * @override 393 * @override
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 // so the host instance should not initialized there. 556 // so the host instance should not initialized there.
549 initializeInspectorFrontendHost(); 557 initializeInspectorFrontendHost();
550 window.InspectorFrontendAPI = new InspectorFrontendAPIImpl(); 558 window.InspectorFrontendAPI = new InspectorFrontendAPIImpl();
551 WebInspector.setLocalizationPlatform(InspectorFrontendHost.platform()); 559 WebInspector.setLocalizationPlatform(InspectorFrontendHost.platform());
552 })(); 560 })();
553 561
554 /** 562 /**
555 * @type {!WebInspector.EventTarget} 563 * @type {!WebInspector.EventTarget}
556 */ 564 */
557 InspectorFrontendHost.events; 565 InspectorFrontendHost.events;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698