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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/devtools.js
diff --git a/third_party/WebKit/Source/devtools/front_end/devtools.js b/third_party/WebKit/Source/devtools/front_end/devtools.js
index efc0ccec309bc52d580c792fcd2dd67d9ad5d767..e7aac92b0f234094d29e6f83009505ec7e7db9a8 100644
--- a/third_party/WebKit/Source/devtools/front_end/devtools.js
+++ b/third_party/WebKit/Source/devtools/front_end/devtools.js
@@ -280,6 +280,14 @@ DevToolsAPIImpl.prototype = {
},
/**
+ * @param {string} panelName
+ */
+ showPanel: function(panelName)
+ {
+ this._dispatchOnInspectorFrontendAPI("showPanel", [panelName]);
+ },
+
+ /**
* @param {number} id
* @param {string} chunk
*/

Powered by Google App Engine
This is Rietveld 408576698