Index: Source/devtools/front_end/workspace/UISourceCode.js |
diff --git a/Source/devtools/front_end/sdk/UISourceCode.js b/Source/devtools/front_end/workspace/UISourceCode.js |
similarity index 98% |
rename from Source/devtools/front_end/sdk/UISourceCode.js |
rename to Source/devtools/front_end/workspace/UISourceCode.js |
index 9f1bd534e2c803689f33e601323aa7f870685745..f576df4eb5b73953bd86ffe8106aedee0e8f8b56 100644 |
--- a/Source/devtools/front_end/sdk/UISourceCode.js |
+++ b/Source/devtools/front_end/workspace/UISourceCode.js |
@@ -33,6 +33,7 @@ |
* @constructor |
* @extends {WebInspector.Object} |
* @implements {WebInspector.ContentProvider} |
+ * @implements {WebInspector.SourceCode} |
* @param {!WebInspector.Project} project |
* @param {string} parentPath |
* @param {string} name |
@@ -50,7 +51,7 @@ WebInspector.UISourceCode = function(project, parentPath, name, originURL, url, |
this._contentType = contentType; |
/** @type {!Array.<function(?string)>} */ |
this._requestContentCallbacks = []; |
- /** @type {!Array.<!WebInspector.PresentationConsoleMessage>} */ |
+ /** @type {!Array.<!WebInspector.PresentationMessage>} */ |
this._consoleMessages = []; |
/** @type {!Array.<!WebInspector.Revision>} */ |
@@ -575,7 +576,7 @@ WebInspector.UISourceCode.prototype = { |
}, |
/** |
- * @return {!Array.<!WebInspector.PresentationConsoleMessage>} |
+ * @return {!Array.<!WebInspector.PresentationMessage>} |
vsevik
2014/08/14 07:42:52
We should move PresentationConsoleMessageHelper to
|
*/ |
consoleMessages: function() |
{ |
@@ -583,7 +584,7 @@ WebInspector.UISourceCode.prototype = { |
}, |
/** |
- * @param {!WebInspector.PresentationConsoleMessage} message |
+ * @param {!WebInspector.PresentationMessage} message |
*/ |
consoleMessageAdded: function(message) |
{ |
@@ -592,7 +593,7 @@ WebInspector.UISourceCode.prototype = { |
}, |
/** |
- * @param {!WebInspector.PresentationConsoleMessage} message |
+ * @param {!WebInspector.PresentationMessage} message |
*/ |
consoleMessageRemoved: function(message) |
{ |
@@ -622,7 +623,13 @@ WebInspector.UISourceCode.prototype = { |
} |
/** |
+ * @interface |
+ */ |
+WebInspector.PresentationMessage = function() {} |
+ |
+/** |
* @constructor |
+ * @implements {WebInspector.SourceLocation} |
* @param {!WebInspector.UISourceCode} uiSourceCode |
* @param {number} lineNumber |
* @param {number} columnNumber |
@@ -656,13 +663,6 @@ WebInspector.UILocation.prototype = { |
} |
/** |
- * @interface |
- */ |
-WebInspector.RawLocation = function() |
-{ |
-} |
- |
-/** |
* @constructor |
* @param {!WebInspector.RawLocation} rawLocation |
* @param {function(!WebInspector.UILocation):(boolean|undefined)} updateDelegate |