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

Unified Diff: Source/devtools/front_end/workspace/UISourceCode.js

Issue 1307063005: DevTools: edit SASS through SourceMaps. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: improvements Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/sdk/SourceMap.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/workspace/UISourceCode.js
diff --git a/Source/devtools/front_end/workspace/UISourceCode.js b/Source/devtools/front_end/workspace/UISourceCode.js
index 1b374623fc42f589f914df608d9aaf80055a6e1d..ad14992ac681e3fed8182aed0493b15241ecc475 100644
--- a/Source/devtools/front_end/workspace/UISourceCode.js
+++ b/Source/devtools/front_end/workspace/UISourceCode.js
@@ -244,6 +244,19 @@ WebInspector.UISourceCode.prototype = {
},
/**
+ * @return {!Promise.<?string>}
+ */
+ requestContentPromise: function()
+ {
+ return new Promise(promiseConstructor.bind(this));
+
+ function promiseConstructor(succ, fail)
+ {
+ this.requestContent(succ);
+ }
+ },
+
+ /**
* @param {function()} callback
*/
_pushCheckContentUpdatedCallback: function(callback)
« no previous file with comments | « Source/devtools/front_end/sdk/SourceMap.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698