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

Unified Diff: Source/devtools/front_end/HandlerRegistry.js

Issue 18341003: DevTools: [CodeMirror] Add syntax highlighting for some other languages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 7 years, 6 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
Index: Source/devtools/front_end/HandlerRegistry.js
diff --git a/Source/devtools/front_end/HandlerRegistry.js b/Source/devtools/front_end/HandlerRegistry.js
index a5e34ed48e35d2206bb6e014e1809e5ccd98b9c9..1530f78dd0fb0252f39fdc31632118fe7c1dc2af 100644
--- a/Source/devtools/front_end/HandlerRegistry.js
+++ b/Source/devtools/front_end/HandlerRegistry.js
@@ -133,6 +133,10 @@ WebInspector.HandlerRegistry.prototype = {
contentType !== WebInspector.resourceTypes.Script)
return;
+ /**
+ * @param {boolean} forceSaveAs
+ * @param {?string} content
+ */
function doSave(forceSaveAs, content)
{
var url = contentProvider.contentURL();
@@ -140,6 +144,9 @@ WebInspector.HandlerRegistry.prototype = {
WebInspector.fileManager.close(url);
}
+ /**
+ * @param {boolean} forceSaveAs
+ */
function save(forceSaveAs)
{
if (contentProvider instanceof WebInspector.UISourceCode) {

Powered by Google App Engine
This is Rietveld 408576698