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

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

Issue 1331083002: DevTools: [STRUCT] edit SASS through SourceMaps (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline atop master 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/CSSParser.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 0a2b564abe212a266887a760041a97fead4d1e83..bff5bdcc91e45a86794ae2f53d72b98b98195f90 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/CSSParser.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698