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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/externs.js

Issue 2297043002: Web expose FileSystemFileEntry, FileSystemDirectoryEntry and friends (Closed)
Patch Set: Rebased Created 4 years 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 /* 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 * @return {!Array.<T>} 179 * @return {!Array.<T>}
180 * @this {!Array.<T>} 180 * @this {!Array.<T>}
181 * @template T 181 * @template T
182 */ 182 */
183 Array.prototype.mergeOrdered = function(array, comparator) {}; 183 Array.prototype.mergeOrdered = function(array, comparator) {};
184 184
185 // File System API 185 // File System API
186 /** 186 /**
187 * @constructor 187 * @constructor
188 */ 188 */
189 function DOMFileSystem() { 189 function FileSystem() {}
190 }
191 190
192 /** 191 /**
193 * @type {DirectoryEntry} 192 * @type {FileSystemDirectoryEntry}
194 */ 193 */
195 DOMFileSystem.prototype.root = null; 194 FileSystem.prototype.root = null;
196 195
197 /** 196 /**
198 * @type {*} 197 * @type {*}
199 */ 198 */
200 window.domAutomationController; 199 window.domAutomationController;
201 200
202 var DevToolsHost = function() {}; 201 var DevToolsHost = function() {};
203 202
204 /** @typedef {{type:string, id:(number|undefined), 203 /** @typedef {{type:string, id:(number|undefined),
205 label:(string|undefined), enabled:(boolean|undefined), checked:(bo olean|undefined), 204 label:(string|undefined), enabled:(boolean|undefined), checked:(bo olean|undefined),
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 DevToolsHost.isUnderTest = function() {}; 255 DevToolsHost.isUnderTest = function() {};
257 256
258 /** 257 /**
259 * @return {boolean} 258 * @return {boolean}
260 */ 259 */
261 DevToolsHost.isHostedMode = function() {}; 260 DevToolsHost.isHostedMode = function() {};
262 261
263 /** 262 /**
264 * @param {string} fileSystemId 263 * @param {string} fileSystemId
265 * @param {string} registeredName 264 * @param {string} registeredName
266 * @return {?DOMFileSystem} 265 * @return {?FileSystem}
267 */ 266 */
268 DevToolsHost.isolatedFileSystem = function(fileSystemId, registeredName) {}; 267 DevToolsHost.isolatedFileSystem = function(fileSystemId, registeredName) {};
269 268
270 /** 269 /**
271 * @param {!FileSystem} fileSystem 270 * @param {!FileSystem} fileSystem
272 */ 271 */
273 DevToolsHost.upgradeDraggedFileSystemPermissions = function(fileSystem) {}; 272 DevToolsHost.upgradeDraggedFileSystemPermissions = function(fileSystem) {};
274 273
275 /** Extensions API */ 274 /** Extensions API */
276 275
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 var Sources = {}; 844 var Sources = {};
846 var Terminal = {}; 845 var Terminal = {};
847 var TextEditor = {}; 846 var TextEditor = {};
848 var Timeline = {}; 847 var Timeline = {};
849 var TimelineModel = {}; 848 var TimelineModel = {};
850 var ToolboxBootstrap = {}; 849 var ToolboxBootstrap = {};
851 var UI = {}; 850 var UI = {};
852 var UtilitySharedWorker = {}; 851 var UtilitySharedWorker = {};
853 var WorkerService = {}; 852 var WorkerService = {};
854 var Workspace = {}; 853 var Workspace = {};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698