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

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: Implement a general showPanel command. 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 /** 282 /**
283 * @param {string} panelName
284 */
285 showPanel: function(panelName)
286 {
287 this._dispatchOnInspectorFrontendAPI("showPanel", [panelName]);
288 },
289
290 /**
283 * @param {number} id 291 * @param {number} id
284 * @param {string} chunk 292 * @param {string} chunk
285 */ 293 */
286 streamWrite: function(id, chunk) 294 streamWrite: function(id, chunk)
287 { 295 {
288 this._dispatchOnInspectorFrontendAPI("streamWrite", [id, chunk]); 296 this._dispatchOnInspectorFrontendAPI("streamWrite", [id, chunk]);
289 }, 297 },
290 298
291 frontendAPIAttached: function() 299 frontendAPIAttached: function()
292 { 300 {
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 uiTests.testSuiteReady = function(testSuiteConstructor) 935 uiTests.testSuiteReady = function(testSuiteConstructor)
928 { 936 {
929 uiTests._testSuite = testSuiteConstructor(window.domAutomationController ); 937 uiTests._testSuite = testSuiteConstructor(window.domAutomationController );
930 uiTests._dispatchIfReady(); 938 uiTests._dispatchIfReady();
931 }; 939 };
932 940
933 window.uiTests = uiTests; 941 window.uiTests = uiTests;
934 } 942 }
935 943
936 })(window); 944 })(window);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698