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

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

Issue 2889013002: DevTools: introduce uiSourceCode.mimeType() method (Closed)
Patch Set: address comments Created 3 years, 7 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 */ 115 */
116 setFileContent(uiSourceCode, newContent, callback) {}, 116 setFileContent(uiSourceCode, newContent, callback) {},
117 117
118 /** 118 /**
119 * @param {!Workspace.UISourceCode} uiSourceCode 119 * @param {!Workspace.UISourceCode} uiSourceCode
120 * @return {string} 120 * @return {string}
121 */ 121 */
122 fullDisplayName(uiSourceCode) {}, 122 fullDisplayName(uiSourceCode) {},
123 123
124 /** 124 /**
125 * @param {!Workspace.UISourceCode} uiSourceCode
126 * @return {string}
127 */
128 mimeType(uiSourceCode) {},
129
130 /**
125 * @return {boolean} 131 * @return {boolean}
126 */ 132 */
127 canRename() {}, 133 canRename() {},
128 134
129 /** 135 /**
130 * @param {!Workspace.UISourceCode} uiSourceCode 136 * @param {!Workspace.UISourceCode} uiSourceCode
131 * @param {string} newName 137 * @param {string} newName
132 * @param {function(boolean, string=, string=, !Common.ResourceType=)} callbac k 138 * @param {function(boolean, string=, string=, !Common.ResourceType=)} callbac k
133 */ 139 */
134 rename(uiSourceCode, newName, callback) {}, 140 rename(uiSourceCode, newName, callback) {},
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 WorkingCopyCommitted: Symbol('WorkingCopyCommitted'), 464 WorkingCopyCommitted: Symbol('WorkingCopyCommitted'),
459 WorkingCopyCommittedByUser: Symbol('WorkingCopyCommittedByUser'), 465 WorkingCopyCommittedByUser: Symbol('WorkingCopyCommittedByUser'),
460 ProjectAdded: Symbol('ProjectAdded'), 466 ProjectAdded: Symbol('ProjectAdded'),
461 ProjectRemoved: Symbol('ProjectRemoved') 467 ProjectRemoved: Symbol('ProjectRemoved')
462 }; 468 };
463 469
464 /** 470 /**
465 * @type {!Workspace.Workspace} 471 * @type {!Workspace.Workspace}
466 */ 472 */
467 Workspace.workspace; 473 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