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

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

Issue 2697403003: DevTools: "Delete File" in navigator should actually delete a file (Closed)
Patch Set: address comments Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 /** 141 /**
142 * @param {string} path 142 * @param {string} path
143 * @param {?string} name 143 * @param {?string} name
144 * @param {string} content 144 * @param {string} content
145 * @param {function(?Workspace.UISourceCode)} callback 145 * @param {function(?Workspace.UISourceCode)} callback
146 */ 146 */
147 createFile(path, name, content, callback) {}, 147 createFile(path, name, content, callback) {},
148 148
149 /** 149 /**
150 * @param {string} path 150 * @param {!Workspace.UISourceCode} uiSourceCode
151 */ 151 */
152 deleteFile(path) {}, 152 deleteFile(uiSourceCode) {},
153 153
154 remove() {}, 154 remove() {},
155 155
156 /** 156 /**
157 * @param {!Workspace.UISourceCode} uiSourceCode 157 * @param {!Workspace.UISourceCode} uiSourceCode
158 * @param {string} query 158 * @param {string} query
159 * @param {boolean} caseSensitive 159 * @param {boolean} caseSensitive
160 * @param {boolean} isRegex 160 * @param {boolean} isRegex
161 * @param {function(!Array.<!Common.ContentProvider.SearchMatch>)} callback 161 * @param {function(!Array.<!Common.ContentProvider.SearchMatch>)} callback
162 */ 162 */
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 WorkingCopyCommitted: Symbol('WorkingCopyCommitted'), 457 WorkingCopyCommitted: Symbol('WorkingCopyCommitted'),
458 WorkingCopyCommittedByUser: Symbol('WorkingCopyCommittedByUser'), 458 WorkingCopyCommittedByUser: Symbol('WorkingCopyCommittedByUser'),
459 ProjectAdded: Symbol('ProjectAdded'), 459 ProjectAdded: Symbol('ProjectAdded'),
460 ProjectRemoved: Symbol('ProjectRemoved') 460 ProjectRemoved: Symbol('ProjectRemoved')
461 }; 461 };
462 462
463 /** 463 /**
464 * @type {!Workspace.Workspace} 464 * @type {!Workspace.Workspace}
465 */ 465 */
466 Workspace.workspace; 466 Workspace.workspace;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698