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

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

Issue 2417083002: DevTools: introduce WI.UISourceCode.requestMetadata() (Closed)
Patch Set: normalize test + address nit Created 4 years, 2 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 */ 91 */
92 type: function() { }, 92 type: function() { },
93 93
94 /** 94 /**
95 * @return {string} 95 * @return {string}
96 */ 96 */
97 displayName: function() { }, 97 displayName: function() { },
98 98
99 /** 99 /**
100 * @param {!WebInspector.UISourceCode} uiSourceCode 100 * @param {!WebInspector.UISourceCode} uiSourceCode
101 * @return {!Promise<?WebInspector.UISourceCodeMetadata>}
102 */
103 requestMetadata: function(uiSourceCode) { },
104
105 /**
106 * @param {!WebInspector.UISourceCode} uiSourceCode
101 * @param {function(?string)} callback 107 * @param {function(?string)} callback
102 */ 108 */
103 requestFileContent: function(uiSourceCode, callback) { }, 109 requestFileContent: function(uiSourceCode, callback) { },
104 110
105 /** 111 /**
106 * @return {boolean} 112 * @return {boolean}
107 */ 113 */
108 canSetFileContent: function() { }, 114 canSetFileContent: function() { },
109 115
110 /** 116 /**
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 return this._hasResourceContentTrackingExtensions; 480 return this._hasResourceContentTrackingExtensions;
475 }, 481 },
476 482
477 __proto__: WebInspector.Object.prototype 483 __proto__: WebInspector.Object.prototype
478 } 484 }
479 485
480 /** 486 /**
481 * @type {!WebInspector.Workspace} 487 * @type {!WebInspector.Workspace}
482 */ 488 */
483 WebInspector.workspace; 489 WebInspector.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