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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/bindings/ContentProviderBasedProject.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 * @param {string} path 155 * @param {string} path
156 * @param {?string} name 156 * @param {?string} name
157 * @param {string} content 157 * @param {string} content
158 * @param {function(?Workspace.UISourceCode)} callback 158 * @param {function(?Workspace.UISourceCode)} callback
159 */ 159 */
160 createFile(path, name, content, callback) { 160 createFile(path, name, content, callback) {
161 } 161 }
162 162
163 /** 163 /**
164 * @override 164 * @override
165 * @param {string} path 165 * @param {!Workspace.UISourceCode} uiSourceCode
166 */ 166 */
167 deleteFile(path) { 167 deleteFile(uiSourceCode) {
168 } 168 }
169 169
170 /** 170 /**
171 * @override 171 * @override
172 */ 172 */
173 remove() { 173 remove() {
174 } 174 }
175 175
176 /** 176 /**
177 * @param {string} path 177 * @param {string} path
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 this.workspace().addProject(this); 313 this.workspace().addProject(this);
314 } 314 }
315 315
316 dispose() { 316 dispose() {
317 this._contentProviders = {}; 317 this._contentProviders = {};
318 this.removeProject(); 318 this.removeProject();
319 } 319 }
320 }; 320 };
321 321
322 Bindings.ContentProviderBasedProject._metadata = Symbol('ContentProviderBasedPro ject.Metadata'); 322 Bindings.ContentProviderBasedProject._metadata = Symbol('ContentProviderBasedPro ject.Metadata');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698