| 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 window.InspectorFrontendHostAPI = InspectorFrontendHostAPI; | 10 window.InspectorFrontendHostAPI = InspectorFrontendHostAPI; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 IndexingWorked: Symbol("indexingWorked"), | 49 IndexingWorked: Symbol("indexingWorked"), |
| 50 IndexingDone: Symbol("indexingDone"), | 50 IndexingDone: Symbol("indexingDone"), |
| 51 KeyEventUnhandled: Symbol("keyEventUnhandled"), | 51 KeyEventUnhandled: Symbol("keyEventUnhandled"), |
| 52 ReloadInspectedPage: Symbol("reloadInspectedPage"), | 52 ReloadInspectedPage: Symbol("reloadInspectedPage"), |
| 53 RevealSourceLine: Symbol("revealSourceLine"), | 53 RevealSourceLine: Symbol("revealSourceLine"), |
| 54 SavedURL: Symbol("savedURL"), | 54 SavedURL: Symbol("savedURL"), |
| 55 SearchCompleted: Symbol("searchCompleted"), | 55 SearchCompleted: Symbol("searchCompleted"), |
| 56 SetInspectedTabId: Symbol("setInspectedTabId"), | 56 SetInspectedTabId: Symbol("setInspectedTabId"), |
| 57 SetUseSoftMenu: Symbol("setUseSoftMenu"), | 57 SetUseSoftMenu: Symbol("setUseSoftMenu"), |
| 58 ShowPanel: Symbol("showPanel") | 58 ShowPanel: Symbol("showPanel") |
| 59 } | 59 }; |
| 60 | 60 |
| 61 InspectorFrontendHostAPI.EventDescriptors = [ | 61 InspectorFrontendHostAPI.EventDescriptors = [ |
| 62 [InspectorFrontendHostAPI.Events.AddExtensions, "addExtensions", ["extension
s"]], | 62 [InspectorFrontendHostAPI.Events.AddExtensions, "addExtensions", ["extension
s"]], |
| 63 [InspectorFrontendHostAPI.Events.AppendedToURL, "appendedToURL", ["url"]], | 63 [InspectorFrontendHostAPI.Events.AppendedToURL, "appendedToURL", ["url"]], |
| 64 [InspectorFrontendHostAPI.Events.CanceledSaveURL, "canceledSaveURL", ["url"]
], | 64 [InspectorFrontendHostAPI.Events.CanceledSaveURL, "canceledSaveURL", ["url"]
], |
| 65 [InspectorFrontendHostAPI.Events.ContextMenuCleared, "contextMenuCleared", [
]], | 65 [InspectorFrontendHostAPI.Events.ContextMenuCleared, "contextMenuCleared", [
]], |
| 66 [InspectorFrontendHostAPI.Events.ContextMenuItemSelected, "contextMenuItemSe
lected", ["id"]], | 66 [InspectorFrontendHostAPI.Events.ContextMenuItemSelected, "contextMenuItemSe
lected", ["id"]], |
| 67 [InspectorFrontendHostAPI.Events.DeviceCountUpdated, "deviceCountUpdated", [
"count"]], | 67 [InspectorFrontendHostAPI.Events.DeviceCountUpdated, "deviceCountUpdated", [
"count"]], |
| 68 [InspectorFrontendHostAPI.Events.DevicesDiscoveryConfigChanged, "devicesDisc
overyConfigChanged", ["discoverUsbDevices", "portForwardingEnabled", "portForwar
dingConfig"]], | 68 [InspectorFrontendHostAPI.Events.DevicesDiscoveryConfigChanged, "devicesDisc
overyConfigChanged", ["discoverUsbDevices", "portForwardingEnabled", "portForwar
dingConfig"]], |
| 69 [InspectorFrontendHostAPI.Events.DevicesPortForwardingStatusChanged, "device
sPortForwardingStatusChanged", ["status"]], | 69 [InspectorFrontendHostAPI.Events.DevicesPortForwardingStatusChanged, "device
sPortForwardingStatusChanged", ["status"]], |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 * @return {boolean} | 298 * @return {boolean} |
| 299 */ | 299 */ |
| 300 isUnderTest: function() { }, | 300 isUnderTest: function() { }, |
| 301 | 301 |
| 302 readyForTest: function() { }, | 302 readyForTest: function() { }, |
| 303 | 303 |
| 304 /** | 304 /** |
| 305 * @return {boolean} | 305 * @return {boolean} |
| 306 */ | 306 */ |
| 307 isHostedMode: function() { } | 307 isHostedMode: function() { } |
| 308 } | 308 }; |
| OLD | NEW |