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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/devtools_compatibility.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 /* eslint-disable indent */ 4 /* eslint-disable indent */
5 (function(window) { 5 (function(window) {
6 6
7 // DevToolsAPI --------------------------------------------------------------- - 7 // DevToolsAPI --------------------------------------------------------------- -
8 8
9 /** 9 /**
10 * @unrestricted 10 * @unrestricted
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 * @param {string} fileSystemPath 515 * @param {string} fileSystemPath
516 */ 516 */
517 removeFileSystem(fileSystemPath) { 517 removeFileSystem(fileSystemPath) {
518 DevToolsAPI.sendMessageToEmbedder('removeFileSystem', [fileSystemPath], nu ll); 518 DevToolsAPI.sendMessageToEmbedder('removeFileSystem', [fileSystemPath], nu ll);
519 } 519 }
520 520
521 /** 521 /**
522 * @override 522 * @override
523 * @param {string} fileSystemId 523 * @param {string} fileSystemId
524 * @param {string} registeredName 524 * @param {string} registeredName
525 * @return {?DOMFileSystem} 525 * @return {?FileSystem}
526 */ 526 */
527 isolatedFileSystem(fileSystemId, registeredName) { 527 isolatedFileSystem(fileSystemId, registeredName) {
528 return DevToolsHost.isolatedFileSystem(fileSystemId, registeredName); 528 return DevToolsHost.isolatedFileSystem(fileSystemId, registeredName);
529 } 529 }
530 530
531 /** 531 /**
532 * @override 532 * @override
533 * @param {!FileSystem} fileSystem 533 * @param {!FileSystem} fileSystem
534 */ 534 */
535 upgradeDraggedFileSystemPermissions(fileSystem) { 535 upgradeDraggedFileSystemPermissions(fileSystem) {
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 * @return {boolean} 1231 * @return {boolean}
1232 */ 1232 */
1233 DOMTokenList.prototype.toggle = function(token, force) { 1233 DOMTokenList.prototype.toggle = function(token, force) {
1234 if (arguments.length === 1) 1234 if (arguments.length === 1)
1235 force = !this.contains(token); 1235 force = !this.contains(token);
1236 return this.__originalDOMTokenListToggle(token, !!force); 1236 return this.__originalDOMTokenListToggle(token, !!force);
1237 }; 1237 };
1238 } 1238 }
1239 1239
1240 })(window); 1240 })(window);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698