| OLD | NEW |
| 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 Loading... |
| 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 ShowPanel: "showPanel" |
| 59 } | 59 } |
| 60 | 60 |
| 61 InspectorFrontendHostAPI.EventDescriptors = [ | 61 InspectorFrontendHostAPI.EventDescriptors = [ |
| 62 [InspectorFrontendHostAPI.Events.AddExtensions, ["extensions"]], | 62 [InspectorFrontendHostAPI.Events.AddExtensions, ["extensions"]], |
| 63 [InspectorFrontendHostAPI.Events.AppendedToURL, ["url"]], | 63 [InspectorFrontendHostAPI.Events.AppendedToURL, ["url"]], |
| 64 [InspectorFrontendHostAPI.Events.CanceledSaveURL, ["url"]], | 64 [InspectorFrontendHostAPI.Events.CanceledSaveURL, ["url"]], |
| 65 [InspectorFrontendHostAPI.Events.ContextMenuCleared, []], | 65 [InspectorFrontendHostAPI.Events.ContextMenuCleared, []], |
| 66 [InspectorFrontendHostAPI.Events.ContextMenuItemSelected, ["id"]], | 66 [InspectorFrontendHostAPI.Events.ContextMenuItemSelected, ["id"]], |
| 67 [InspectorFrontendHostAPI.Events.DeviceCountUpdated, ["count"]], | 67 [InspectorFrontendHostAPI.Events.DeviceCountUpdated, ["count"]], |
| 68 [InspectorFrontendHostAPI.Events.DevicesDiscoveryConfigChanged, ["discoverUs
bDevices", "portForwardingEnabled", "portForwardingConfig"]], | 68 [InspectorFrontendHostAPI.Events.DevicesDiscoveryConfigChanged, ["discoverUs
bDevices", "portForwardingEnabled", "portForwardingConfig"]], |
| (...skipping 11 matching lines...) Expand all Loading... |
| 80 [InspectorFrontendHostAPI.Events.IndexingTotalWorkCalculated, ["requestId",
"fileSystemPath", "totalWork"]], | 80 [InspectorFrontendHostAPI.Events.IndexingTotalWorkCalculated, ["requestId",
"fileSystemPath", "totalWork"]], |
| 81 [InspectorFrontendHostAPI.Events.IndexingWorked, ["requestId", "fileSystemPa
th", "worked"]], | 81 [InspectorFrontendHostAPI.Events.IndexingWorked, ["requestId", "fileSystemPa
th", "worked"]], |
| 82 [InspectorFrontendHostAPI.Events.IndexingDone, ["requestId", "fileSystemPath
"]], | 82 [InspectorFrontendHostAPI.Events.IndexingDone, ["requestId", "fileSystemPath
"]], |
| 83 [InspectorFrontendHostAPI.Events.KeyEventUnhandled, ["event"]], | 83 [InspectorFrontendHostAPI.Events.KeyEventUnhandled, ["event"]], |
| 84 [InspectorFrontendHostAPI.Events.ReloadInspectedPage, ["hard"]], | 84 [InspectorFrontendHostAPI.Events.ReloadInspectedPage, ["hard"]], |
| 85 [InspectorFrontendHostAPI.Events.RevealSourceLine, ["url", "lineNumber", "co
lumnNumber"]], | 85 [InspectorFrontendHostAPI.Events.RevealSourceLine, ["url", "lineNumber", "co
lumnNumber"]], |
| 86 [InspectorFrontendHostAPI.Events.SavedURL, ["url"]], | 86 [InspectorFrontendHostAPI.Events.SavedURL, ["url"]], |
| 87 [InspectorFrontendHostAPI.Events.SearchCompleted, ["requestId", "fileSystemP
ath", "files"]], | 87 [InspectorFrontendHostAPI.Events.SearchCompleted, ["requestId", "fileSystemP
ath", "files"]], |
| 88 [InspectorFrontendHostAPI.Events.SetInspectedTabId, ["tabId"]], | 88 [InspectorFrontendHostAPI.Events.SetInspectedTabId, ["tabId"]], |
| 89 [InspectorFrontendHostAPI.Events.SetUseSoftMenu, ["useSoftMenu"]], | 89 [InspectorFrontendHostAPI.Events.SetUseSoftMenu, ["useSoftMenu"]], |
| 90 [InspectorFrontendHostAPI.Events.ShowConsole, []] | 90 [InspectorFrontendHostAPI.Events.ShowPanel, ["panelName"]] |
| 91 ]; | 91 ]; |
| 92 | 92 |
| 93 InspectorFrontendHostAPI.prototype = { | 93 InspectorFrontendHostAPI.prototype = { |
| 94 /** | 94 /** |
| 95 * @param {string=} fileSystemPath | 95 * @param {string=} fileSystemPath |
| 96 */ | 96 */ |
| 97 addFileSystem: function(fileSystemPath) { }, | 97 addFileSystem: function(fileSystemPath) { }, |
| 98 | 98 |
| 99 /** | 99 /** |
| 100 * @param {string} url | 100 * @param {string} url |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 /** | 293 /** |
| 294 * @return {boolean} | 294 * @return {boolean} |
| 295 */ | 295 */ |
| 296 isHostedMode: function() { }, | 296 isHostedMode: function() { }, |
| 297 | 297 |
| 298 /** | 298 /** |
| 299 * @param {string} message | 299 * @param {string} message |
| 300 */ | 300 */ |
| 301 sendFrontendAPINotification: function(message) { } | 301 sendFrontendAPINotification: function(message) { } |
| 302 } | 302 } |
| OLD | NEW |