OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 */ | 176 */ |
177 function DOMFileSystem() {} | 177 function DOMFileSystem() {} |
178 | 178 |
179 /** | 179 /** |
180 * @type {DirectoryEntry} | 180 * @type {DirectoryEntry} |
181 */ | 181 */ |
182 DOMFileSystem.prototype.root = null; | 182 DOMFileSystem.prototype.root = null; |
183 | 183 |
184 /** @interface */ | 184 /** @interface */ |
185 function InspectorFrontendHostAPI() {} | 185 function InspectorFrontendHostAPI() {} |
186 /** @param {!Function=} callback callback */ | 186 /** @param {!Function=} callback */ |
187 InspectorFrontendHostAPI.prototype.addFileSystem = function(callback) {} | 187 InspectorFrontendHostAPI.prototype.addFileSystem = function(callback) {} |
188 /** @param {!Function=} callback callback */ | 188 /** @param {!Function=} callback */ |
189 InspectorFrontendHostAPI.prototype.append = function(url, content, callback) {} | 189 InspectorFrontendHostAPI.prototype.append = function(url, content, callback) {} |
190 /** @param {!Function=} callback callback */ | 190 /** @param {!Function=} callback */ |
191 InspectorFrontendHostAPI.prototype.indexPath = function(requestId, fileSystemPat
h, callback) {} | 191 InspectorFrontendHostAPI.prototype.indexPath = function(requestId, fileSystemPat
h, callback) {} |
192 /** @return {string} */ | 192 /** @return {string} */ |
193 InspectorFrontendHostAPI.prototype.getSelectionBackgroundColor = function() {} | 193 InspectorFrontendHostAPI.prototype.getSelectionBackgroundColor = function() {} |
194 /** @return {string} */ | 194 /** @return {string} */ |
195 InspectorFrontendHostAPI.prototype.getSelectionForegroundColor = function() {} | 195 InspectorFrontendHostAPI.prototype.getSelectionForegroundColor = function() {} |
196 /** @return {boolean} */ | 196 /** @return {boolean} */ |
197 InspectorFrontendHost.isUnderTest = function() {} | 197 InspectorFrontendHost.isUnderTest = function() {} |
198 /** | 198 /** |
199 * Requests inspected page to be placed atop of the inspector frontend | 199 * Requests inspected page to be placed atop of the inspector frontend |
200 * with passed insets from the frontend sides, respecting minimum size passed. | 200 * with passed insets from the frontend sides, respecting minimum size passed. |
201 * @param {{top: number, left: number, right: number, bottom: number}} insets | 201 * @param {{top: number, left: number, right: number, bottom: number}} insets |
202 * @param {{width: number, height: number}} minSize | 202 * @param {{width: number, height: number}} minSize |
203 */ | 203 */ |
204 InspectorFrontendHostAPI.prototype.setContentsResizingStrategy = function(insets
, minSize) {} | 204 InspectorFrontendHostAPI.prototype.setContentsResizingStrategy = function(insets
, minSize) {} |
| 205 /** @param {string} shortcuts */ |
| 206 InspectorFrontendHostAPI.prototype.setWhitelistedShortcuts = function(shortcuts)
{} |
205 InspectorFrontendHostAPI.prototype.inspectElementCompleted = function() {} | 207 InspectorFrontendHostAPI.prototype.inspectElementCompleted = function() {} |
206 /** @param {!Function=} callback callback */ | 208 /** @param {!Function=} callback */ |
207 InspectorFrontendHostAPI.prototype.moveWindowBy = function(x, y, callback) {} | 209 InspectorFrontendHostAPI.prototype.moveWindowBy = function(x, y, callback) {} |
208 /** @param {!Function=} callback callback */ | 210 /** @param {!Function=} callback */ |
209 InspectorFrontendHostAPI.prototype.openInNewTab = function(url, callback) {} | 211 InspectorFrontendHostAPI.prototype.openInNewTab = function(url, callback) {} |
210 /** @param {!Function=} callback callback */ | 212 /** @param {!Function=} callback */ |
211 InspectorFrontendHostAPI.prototype.removeFileSystem = function(fileSystemPath, c
allback) {} | 213 InspectorFrontendHostAPI.prototype.removeFileSystem = function(fileSystemPath, c
allback) {} |
212 /** @param {!Function=} callback callback */ | 214 /** @param {!Function=} callback */ |
213 InspectorFrontendHostAPI.prototype.requestFileSystems = function(callback) {} | 215 InspectorFrontendHostAPI.prototype.requestFileSystems = function(callback) {} |
214 /** @param {!Function=} callback callback */ | 216 /** @param {!Function=} callback */ |
215 InspectorFrontendHostAPI.prototype.save = function(url, content, forceSaveAs, ca
llback) {} | 217 InspectorFrontendHostAPI.prototype.save = function(url, content, forceSaveAs, ca
llback) {} |
216 /** @param {!Function=} callback callback */ | 218 /** @param {!Function=} callback */ |
217 InspectorFrontendHostAPI.prototype.searchInPath = function(requestId, fileSystem
Path, query, callback) {} | 219 InspectorFrontendHostAPI.prototype.searchInPath = function(requestId, fileSystem
Path, query, callback) {} |
218 /** @param {!Function=} callback callback */ | 220 /** @param {!Function=} callback */ |
219 InspectorFrontendHostAPI.prototype.stopIndexing = function(requestId, callback)
{} | 221 InspectorFrontendHostAPI.prototype.stopIndexing = function(requestId, callback)
{} |
220 | 222 |
221 InspectorFrontendHostAPI.prototype.bringToFront = function() {} | 223 InspectorFrontendHostAPI.prototype.bringToFront = function() {} |
222 InspectorFrontendHostAPI.prototype.closeWindow = function() {} | 224 InspectorFrontendHostAPI.prototype.closeWindow = function() {} |
223 InspectorFrontendHostAPI.prototype.copyText = function(text) {} | 225 InspectorFrontendHostAPI.prototype.copyText = function(text) {} |
224 InspectorFrontendHostAPI.prototype.inspectedURLChanged = function(url) {} | 226 InspectorFrontendHostAPI.prototype.inspectedURLChanged = function(url) {} |
225 InspectorFrontendHostAPI.prototype.isolatedFileSystem = function(fileSystemId, r
egisteredName) {} | 227 InspectorFrontendHostAPI.prototype.isolatedFileSystem = function(fileSystemId, r
egisteredName) {} |
226 InspectorFrontendHostAPI.prototype.upgradeDraggedFileSystemPermissions = functio
n(DOMFileSystem) {} | 228 InspectorFrontendHostAPI.prototype.upgradeDraggedFileSystemPermissions = functio
n(DOMFileSystem) {} |
227 InspectorFrontendHostAPI.prototype.platform = function() {} | 229 InspectorFrontendHostAPI.prototype.platform = function() {} |
228 InspectorFrontendHostAPI.prototype.port = function() {} | 230 InspectorFrontendHostAPI.prototype.port = function() {} |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 } | 458 } |
457 | 459 |
458 /** @type {Object.<string, !Object.<string, string>>} */ | 460 /** @type {Object.<string, !Object.<string, string>>} */ |
459 CodeMirror.keyMap; | 461 CodeMirror.keyMap; |
460 | 462 |
461 /** @type {{scrollLeft: number, scrollTop: number}} */ | 463 /** @type {{scrollLeft: number, scrollTop: number}} */ |
462 CodeMirror.doc; | 464 CodeMirror.doc; |
463 | 465 |
464 /** @type {boolean} */ | 466 /** @type {boolean} */ |
465 window.dispatchStandaloneTestRunnerMessages; | 467 window.dispatchStandaloneTestRunnerMessages; |
OLD | NEW |