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

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

Issue 471433004: DevTools: Split out the "workspace" and "bindings" modules from "sdk" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Extract StaticContentProvider, remove stray jsdoc Created 6 years, 4 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/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
« no previous file with comments | « Source/devtools/front_end/workspace/SearchConfig.js ('k') | Source/devtools/front_end/workspace/Workspace.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698