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

Side by Side Diff: Source/devtools/front_end/host/InspectorFrontendHostAPI.js

Issue 1314853006: DevTools: expose wired front-end API for editors interop [blink] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months 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 | Annotate | Revision Log
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 18 matching lines...) Expand all
29 InspectorFrontendHostAPI.Events = { 29 InspectorFrontendHostAPI.Events = {
30 AddExtensions: "addExtensions", 30 AddExtensions: "addExtensions",
31 AppendedToURL: "appendedToURL", 31 AppendedToURL: "appendedToURL",
32 CanceledSaveURL: "canceledSaveURL", 32 CanceledSaveURL: "canceledSaveURL",
33 ContextMenuCleared: "contextMenuCleared", 33 ContextMenuCleared: "contextMenuCleared",
34 ContextMenuItemSelected: "contextMenuItemSelected", 34 ContextMenuItemSelected: "contextMenuItemSelected",
35 DeviceCountUpdated: "deviceCountUpdated", 35 DeviceCountUpdated: "deviceCountUpdated",
36 DevicesUpdated: "devicesUpdated", 36 DevicesUpdated: "devicesUpdated",
37 DispatchMessage: "dispatchMessage", 37 DispatchMessage: "dispatchMessage",
38 DispatchMessageChunk: "dispatchMessageChunk", 38 DispatchMessageChunk: "dispatchMessageChunk",
39 DispatchFrontendAPIMessage: "dispatchFrontendAPIMessage",
39 EnterInspectElementMode: "enterInspectElementMode", 40 EnterInspectElementMode: "enterInspectElementMode",
40 FileSystemsLoaded: "fileSystemsLoaded", 41 FileSystemsLoaded: "fileSystemsLoaded",
41 FileSystemRemoved: "fileSystemRemoved", 42 FileSystemRemoved: "fileSystemRemoved",
42 FileSystemAdded: "fileSystemAdded", 43 FileSystemAdded: "fileSystemAdded",
44 FrontendAPIAttached: "frontendAPIAttached",
45 FrontendAPIDetached: "frontendAPIDetached",
43 IndexingTotalWorkCalculated: "indexingTotalWorkCalculated", 46 IndexingTotalWorkCalculated: "indexingTotalWorkCalculated",
44 IndexingWorked: "indexingWorked", 47 IndexingWorked: "indexingWorked",
45 IndexingDone: "indexingDone", 48 IndexingDone: "indexingDone",
46 KeyEventUnhandled: "keyEventUnhandled", 49 KeyEventUnhandled: "keyEventUnhandled",
47 ReloadInspectedPage: "reloadInspectedPage", 50 ReloadInspectedPage: "reloadInspectedPage",
48 RevealSourceLine: "revealSourceLine", 51 RevealSourceLine: "revealSourceLine",
49 SavedURL: "savedURL", 52 SavedURL: "savedURL",
50 SearchCompleted: "searchCompleted", 53 SearchCompleted: "searchCompleted",
51 SetInspectedTabId: "setInspectedTabId", 54 SetInspectedTabId: "setInspectedTabId",
52 SetUseSoftMenu: "setUseSoftMenu", 55 SetUseSoftMenu: "setUseSoftMenu",
53 ShowConsole: "showConsole" 56 ShowConsole: "showConsole"
54 } 57 }
55 58
56 InspectorFrontendHostAPI.EventDescriptors = [ 59 InspectorFrontendHostAPI.EventDescriptors = [
57 [InspectorFrontendHostAPI.Events.AddExtensions, ["extensions"]], 60 [InspectorFrontendHostAPI.Events.AddExtensions, ["extensions"]],
58 [InspectorFrontendHostAPI.Events.AppendedToURL, ["url"]], 61 [InspectorFrontendHostAPI.Events.AppendedToURL, ["url"]],
59 [InspectorFrontendHostAPI.Events.CanceledSaveURL, ["url"]], 62 [InspectorFrontendHostAPI.Events.CanceledSaveURL, ["url"]],
60 [InspectorFrontendHostAPI.Events.ContextMenuCleared, []], 63 [InspectorFrontendHostAPI.Events.ContextMenuCleared, []],
61 [InspectorFrontendHostAPI.Events.ContextMenuItemSelected, ["id"]], 64 [InspectorFrontendHostAPI.Events.ContextMenuItemSelected, ["id"]],
62 [InspectorFrontendHostAPI.Events.DeviceCountUpdated, ["count"]], 65 [InspectorFrontendHostAPI.Events.DeviceCountUpdated, ["count"]],
63 [InspectorFrontendHostAPI.Events.DevicesUpdated, ["devices"]], 66 [InspectorFrontendHostAPI.Events.DevicesUpdated, ["devices"]],
64 [InspectorFrontendHostAPI.Events.DispatchMessage, ["messageObject"]], 67 [InspectorFrontendHostAPI.Events.DispatchMessage, ["messageObject"]],
65 [InspectorFrontendHostAPI.Events.DispatchMessageChunk, ["messageChunk", "mes sageSize"]], 68 [InspectorFrontendHostAPI.Events.DispatchMessageChunk, ["messageChunk", "mes sageSize"]],
69 [InspectorFrontendHostAPI.Events.DispatchFrontendAPIMessage, ["messageObject "]],
66 [InspectorFrontendHostAPI.Events.EnterInspectElementMode, []], 70 [InspectorFrontendHostAPI.Events.EnterInspectElementMode, []],
67 [InspectorFrontendHostAPI.Events.FileSystemsLoaded, ["fileSystems"]], 71 [InspectorFrontendHostAPI.Events.FileSystemsLoaded, ["fileSystems"]],
68 [InspectorFrontendHostAPI.Events.FileSystemRemoved, ["fileSystemPath"]], 72 [InspectorFrontendHostAPI.Events.FileSystemRemoved, ["fileSystemPath"]],
69 [InspectorFrontendHostAPI.Events.FileSystemAdded, ["errorMessage", "fileSyst em"]], 73 [InspectorFrontendHostAPI.Events.FileSystemAdded, ["errorMessage", "fileSyst em"]],
74 [InspectorFrontendHostAPI.Events.FrontendAPIAttached, ["frontendAPIAttached" ]],
75 [InspectorFrontendHostAPI.Events.FrontendAPIDetached, ["frontendAPIDetached" ]],
70 [InspectorFrontendHostAPI.Events.IndexingTotalWorkCalculated, ["requestId", "fileSystemPath", "totalWork"]], 76 [InspectorFrontendHostAPI.Events.IndexingTotalWorkCalculated, ["requestId", "fileSystemPath", "totalWork"]],
71 [InspectorFrontendHostAPI.Events.IndexingWorked, ["requestId", "fileSystemPa th", "worked"]], 77 [InspectorFrontendHostAPI.Events.IndexingWorked, ["requestId", "fileSystemPa th", "worked"]],
72 [InspectorFrontendHostAPI.Events.IndexingDone, ["requestId", "fileSystemPath "]], 78 [InspectorFrontendHostAPI.Events.IndexingDone, ["requestId", "fileSystemPath "]],
73 [InspectorFrontendHostAPI.Events.KeyEventUnhandled, ["event"]], 79 [InspectorFrontendHostAPI.Events.KeyEventUnhandled, ["event"]],
74 [InspectorFrontendHostAPI.Events.ReloadInspectedPage, ["hard"]], 80 [InspectorFrontendHostAPI.Events.ReloadInspectedPage, ["hard"]],
75 [InspectorFrontendHostAPI.Events.RevealSourceLine, ["url", "lineNumber", "co lumnNumber"]], 81 [InspectorFrontendHostAPI.Events.RevealSourceLine, ["url", "lineNumber", "co lumnNumber"]],
76 [InspectorFrontendHostAPI.Events.SavedURL, ["url"]], 82 [InspectorFrontendHostAPI.Events.SavedURL, ["url"]],
77 [InspectorFrontendHostAPI.Events.SearchCompleted, ["requestId", "fileSystemP ath", "files"]], 83 [InspectorFrontendHostAPI.Events.SearchCompleted, ["requestId", "fileSystemP ath", "files"]],
78 [InspectorFrontendHostAPI.Events.SetInspectedTabId, ["tabId"]], 84 [InspectorFrontendHostAPI.Events.SetInspectedTabId, ["tabId"]],
79 [InspectorFrontendHostAPI.Events.SetUseSoftMenu, ["useSoftMenu"]], 85 [InspectorFrontendHostAPI.Events.SetUseSoftMenu, ["useSoftMenu"]],
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 showContextMenuAtPoint: function(x, y, items, document) { }, 260 showContextMenuAtPoint: function(x, y, items, document) { },
255 261
256 /** 262 /**
257 * @return {boolean} 263 * @return {boolean}
258 */ 264 */
259 isUnderTest: function() { }, 265 isUnderTest: function() { },
260 266
261 /** 267 /**
262 * @return {boolean} 268 * @return {boolean}
263 */ 269 */
264 isHostedMode: function() { } 270 isHostedMode: function() { },
271
272 /**
273 * @param {string} message
274 */
275 sendFrontendAPINotification: function(message) { }
265 } 276 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/host/InspectorFrontendHost.js ('k') | Source/devtools/front_end/main/FrontendWebSocketAPI.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698