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

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

Issue 1433953002: Implement a ShowSecurityPanel() call in the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make sure the DevTools stays open if ShowSecurityPanel() is called when DevTools is already open. Created 5 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 (function(window) { 5 (function(window) {
6 6
7 // DevToolsAPI ---------------------------------------------------------------- 7 // DevToolsAPI ----------------------------------------------------------------
8 8
9 /** 9 /**
10 * @constructor 10 * @constructor
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 setUseSoftMenu: function(useSoftMenu) 272 setUseSoftMenu: function(useSoftMenu)
273 { 273 {
274 this._dispatchOnInspectorFrontendAPI("setUseSoftMenu", [useSoftMenu]); 274 this._dispatchOnInspectorFrontendAPI("setUseSoftMenu", [useSoftMenu]);
275 }, 275 },
276 276
277 showConsole: function() 277 showConsole: function()
278 { 278 {
279 this._dispatchOnInspectorFrontendAPI("showConsole", []); 279 this._dispatchOnInspectorFrontendAPI("showConsole", []);
280 }, 280 },
281 281
282 showSecurityPanel: function()
283 {
284 this._dispatchOnInspectorFrontendAPI("showSecurityPanel", []);
285 },
286
282 /** 287 /**
283 * @param {number} id 288 * @param {number} id
284 * @param {string} chunk 289 * @param {string} chunk
285 */ 290 */
286 streamWrite: function(id, chunk) 291 streamWrite: function(id, chunk)
287 { 292 {
288 this._dispatchOnInspectorFrontendAPI("streamWrite", [id, chunk]); 293 this._dispatchOnInspectorFrontendAPI("streamWrite", [id, chunk]);
289 }, 294 },
290 295
291 frontendAPIAttached: function() 296 frontendAPIAttached: function()
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 uiTests.testSuiteReady = function(testSuiteConstructor) 932 uiTests.testSuiteReady = function(testSuiteConstructor)
928 { 933 {
929 uiTests._testSuite = testSuiteConstructor(window.domAutomationController ); 934 uiTests._testSuite = testSuiteConstructor(window.domAutomationController );
930 uiTests._dispatchIfReady(); 935 uiTests._dispatchIfReady();
931 }; 936 };
932 937
933 window.uiTests = uiTests; 938 window.uiTests = uiTests;
934 } 939 }
935 940
936 })(window); 941 })(window);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698