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

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

Issue 2587533002: DevTools: consistently use relative name for filesystem resources. (Closed)
Patch Set: same 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
« 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 canSetFileContent() {}, 109 canSetFileContent() {},
110 110
111 /** 111 /**
112 * @param {!Workspace.UISourceCode} uiSourceCode 112 * @param {!Workspace.UISourceCode} uiSourceCode
113 * @param {string} newContent 113 * @param {string} newContent
114 * @param {function(?string)} callback 114 * @param {function(?string)} callback
115 */ 115 */
116 setFileContent(uiSourceCode, newContent, callback) {}, 116 setFileContent(uiSourceCode, newContent, callback) {},
117 117
118 /** 118 /**
119 * @param {!Workspace.UISourceCode} uiSourceCode
120 * @return {string}
121 */
122 fullDisplayName(uiSourceCode) {},
123
124 /**
119 * @return {boolean} 125 * @return {boolean}
120 */ 126 */
121 canRename() {}, 127 canRename() {},
122 128
123 /** 129 /**
124 * @param {!Workspace.UISourceCode} uiSourceCode 130 * @param {!Workspace.UISourceCode} uiSourceCode
125 * @param {string} newName 131 * @param {string} newName
126 * @param {function(boolean, string=, string=, !Common.ResourceType=)} callbac k 132 * @param {function(boolean, string=, string=, !Common.ResourceType=)} callbac k
127 */ 133 */
128 rename(uiSourceCode, newName, callback) {}, 134 rename(uiSourceCode, newName, callback) {},
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 WorkingCopyCommitted: Symbol('WorkingCopyCommitted'), 457 WorkingCopyCommitted: Symbol('WorkingCopyCommitted'),
452 WorkingCopyCommittedByUser: Symbol('WorkingCopyCommittedByUser'), 458 WorkingCopyCommittedByUser: Symbol('WorkingCopyCommittedByUser'),
453 ProjectAdded: Symbol('ProjectAdded'), 459 ProjectAdded: Symbol('ProjectAdded'),
454 ProjectRemoved: Symbol('ProjectRemoved') 460 ProjectRemoved: Symbol('ProjectRemoved')
455 }; 461 };
456 462
457 /** 463 /**
458 * @type {!Workspace.Workspace} 464 * @type {!Workspace.Workspace}
459 */ 465 */
460 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