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

Unified Diff: third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.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/host/InspectorFrontendHostAPI.js
diff --git a/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js b/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
index 5821f4c2bf1943f9d52a43a9868dddebbf3e4f42..b98bcbc3e0aa41d2b4e02c287c5a98922cfca9d5 100644
--- a/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
+++ b/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
@@ -55,7 +55,8 @@ InspectorFrontendHostAPI.Events = {
SearchCompleted: "searchCompleted",
SetInspectedTabId: "setInspectedTabId",
SetUseSoftMenu: "setUseSoftMenu",
- ShowConsole: "showConsole"
+ ShowConsole: "showConsole",
+ ShowPanel: "showPanel"
}
InspectorFrontendHostAPI.EventDescriptors = [
@@ -87,7 +88,8 @@ InspectorFrontendHostAPI.EventDescriptors = [
[InspectorFrontendHostAPI.Events.SearchCompleted, ["requestId", "fileSystemPath", "files"]],
[InspectorFrontendHostAPI.Events.SetInspectedTabId, ["tabId"]],
[InspectorFrontendHostAPI.Events.SetUseSoftMenu, ["useSoftMenu"]],
- [InspectorFrontendHostAPI.Events.ShowConsole, []]
+ [InspectorFrontendHostAPI.Events.ShowConsole, []],
+ [InspectorFrontendHostAPI.Events.ShowPanel, ["panelName"]]
];
InspectorFrontendHostAPI.prototype = {

Powered by Google App Engine
This is Rietveld 408576698