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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 5
6 /** @interface */ 6 /** @interface */
7 function InspectorFrontendHostAPI() 7 function InspectorFrontendHostAPI()
8 { 8 {
9 } 9 }
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 IndexingTotalWorkCalculated: "indexingTotalWorkCalculated", 48 IndexingTotalWorkCalculated: "indexingTotalWorkCalculated",
49 IndexingWorked: "indexingWorked", 49 IndexingWorked: "indexingWorked",
50 IndexingDone: "indexingDone", 50 IndexingDone: "indexingDone",
51 KeyEventUnhandled: "keyEventUnhandled", 51 KeyEventUnhandled: "keyEventUnhandled",
52 ReloadInspectedPage: "reloadInspectedPage", 52 ReloadInspectedPage: "reloadInspectedPage",
53 RevealSourceLine: "revealSourceLine", 53 RevealSourceLine: "revealSourceLine",
54 SavedURL: "savedURL", 54 SavedURL: "savedURL",
55 SearchCompleted: "searchCompleted", 55 SearchCompleted: "searchCompleted",
56 SetInspectedTabId: "setInspectedTabId", 56 SetInspectedTabId: "setInspectedTabId",
57 SetUseSoftMenu: "setUseSoftMenu", 57 SetUseSoftMenu: "setUseSoftMenu",
58 ShowConsole: "showConsole" 58 ShowConsole: "showConsole",
59 ShowPanel: "showPanel"
59 } 60 }
60 61
61 InspectorFrontendHostAPI.EventDescriptors = [ 62 InspectorFrontendHostAPI.EventDescriptors = [
62 [InspectorFrontendHostAPI.Events.AddExtensions, ["extensions"]], 63 [InspectorFrontendHostAPI.Events.AddExtensions, ["extensions"]],
63 [InspectorFrontendHostAPI.Events.AppendedToURL, ["url"]], 64 [InspectorFrontendHostAPI.Events.AppendedToURL, ["url"]],
64 [InspectorFrontendHostAPI.Events.CanceledSaveURL, ["url"]], 65 [InspectorFrontendHostAPI.Events.CanceledSaveURL, ["url"]],
65 [InspectorFrontendHostAPI.Events.ContextMenuCleared, []], 66 [InspectorFrontendHostAPI.Events.ContextMenuCleared, []],
66 [InspectorFrontendHostAPI.Events.ContextMenuItemSelected, ["id"]], 67 [InspectorFrontendHostAPI.Events.ContextMenuItemSelected, ["id"]],
67 [InspectorFrontendHostAPI.Events.DeviceCountUpdated, ["count"]], 68 [InspectorFrontendHostAPI.Events.DeviceCountUpdated, ["count"]],
68 [InspectorFrontendHostAPI.Events.DevicesDiscoveryConfigChanged, ["discoverUs bDevices", "portForwardingEnabled", "portForwardingConfig"]], 69 [InspectorFrontendHostAPI.Events.DevicesDiscoveryConfigChanged, ["discoverUs bDevices", "portForwardingEnabled", "portForwardingConfig"]],
(...skipping 11 matching lines...) Expand all
80 [InspectorFrontendHostAPI.Events.IndexingTotalWorkCalculated, ["requestId", "fileSystemPath", "totalWork"]], 81 [InspectorFrontendHostAPI.Events.IndexingTotalWorkCalculated, ["requestId", "fileSystemPath", "totalWork"]],
81 [InspectorFrontendHostAPI.Events.IndexingWorked, ["requestId", "fileSystemPa th", "worked"]], 82 [InspectorFrontendHostAPI.Events.IndexingWorked, ["requestId", "fileSystemPa th", "worked"]],
82 [InspectorFrontendHostAPI.Events.IndexingDone, ["requestId", "fileSystemPath "]], 83 [InspectorFrontendHostAPI.Events.IndexingDone, ["requestId", "fileSystemPath "]],
83 [InspectorFrontendHostAPI.Events.KeyEventUnhandled, ["event"]], 84 [InspectorFrontendHostAPI.Events.KeyEventUnhandled, ["event"]],
84 [InspectorFrontendHostAPI.Events.ReloadInspectedPage, ["hard"]], 85 [InspectorFrontendHostAPI.Events.ReloadInspectedPage, ["hard"]],
85 [InspectorFrontendHostAPI.Events.RevealSourceLine, ["url", "lineNumber", "co lumnNumber"]], 86 [InspectorFrontendHostAPI.Events.RevealSourceLine, ["url", "lineNumber", "co lumnNumber"]],
86 [InspectorFrontendHostAPI.Events.SavedURL, ["url"]], 87 [InspectorFrontendHostAPI.Events.SavedURL, ["url"]],
87 [InspectorFrontendHostAPI.Events.SearchCompleted, ["requestId", "fileSystemP ath", "files"]], 88 [InspectorFrontendHostAPI.Events.SearchCompleted, ["requestId", "fileSystemP ath", "files"]],
88 [InspectorFrontendHostAPI.Events.SetInspectedTabId, ["tabId"]], 89 [InspectorFrontendHostAPI.Events.SetInspectedTabId, ["tabId"]],
89 [InspectorFrontendHostAPI.Events.SetUseSoftMenu, ["useSoftMenu"]], 90 [InspectorFrontendHostAPI.Events.SetUseSoftMenu, ["useSoftMenu"]],
90 [InspectorFrontendHostAPI.Events.ShowConsole, []] 91 [InspectorFrontendHostAPI.Events.ShowConsole, []],
92 [InspectorFrontendHostAPI.Events.ShowPanel, ["panelName"]]
91 ]; 93 ];
92 94
93 InspectorFrontendHostAPI.prototype = { 95 InspectorFrontendHostAPI.prototype = {
94 /** 96 /**
95 * @param {string=} fileSystemPath 97 * @param {string=} fileSystemPath
96 */ 98 */
97 addFileSystem: function(fileSystemPath) { }, 99 addFileSystem: function(fileSystemPath) { },
98 100
99 /** 101 /**
100 * @param {string} url 102 * @param {string} url
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 /** 295 /**
294 * @return {boolean} 296 * @return {boolean}
295 */ 297 */
296 isHostedMode: function() { }, 298 isHostedMode: function() { },
297 299
298 /** 300 /**
299 * @param {string} message 301 * @param {string} message
300 */ 302 */
301 sendFrontendAPINotification: function(message) { } 303 sendFrontendAPINotification: function(message) { }
302 } 304 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698