| 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 94%
|
| rename from Source/devtools/front_end/sdk/UISourceCode.js
|
| rename to Source/devtools/front_end/workspace/UISourceCode.js
|
| index 9f1bd534e2c803689f33e601323aa7f870685745..035d3897a19eb77073ab5a6ae3892514ee695ae4 100644
|
| --- a/Source/devtools/front_end/sdk/UISourceCode.js
|
| +++ b/Source/devtools/front_end/workspace/UISourceCode.js
|
| @@ -50,7 +50,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 +575,7 @@ WebInspector.UISourceCode.prototype = {
|
| },
|
|
|
| /**
|
| - * @return {!Array.<!WebInspector.PresentationConsoleMessage>}
|
| + * @return {!Array.<!WebInspector.PresentationMessage>}
|
| */
|
| consoleMessages: function()
|
| {
|
| @@ -583,7 +583,7 @@ WebInspector.UISourceCode.prototype = {
|
| },
|
|
|
| /**
|
| - * @param {!WebInspector.PresentationConsoleMessage} message
|
| + * @param {!WebInspector.PresentationMessage} message
|
| */
|
| consoleMessageAdded: function(message)
|
| {
|
| @@ -592,7 +592,7 @@ WebInspector.UISourceCode.prototype = {
|
| },
|
|
|
| /**
|
| - * @param {!WebInspector.PresentationConsoleMessage} message
|
| + * @param {!WebInspector.PresentationMessage} message
|
| */
|
| consoleMessageRemoved: function(message)
|
| {
|
| @@ -622,6 +622,11 @@ WebInspector.UISourceCode.prototype = {
|
| }
|
|
|
| /**
|
| + * @interface
|
| + */
|
| +WebInspector.PresentationMessage = function() {}
|
| +
|
| +/**
|
| * @constructor
|
| * @param {!WebInspector.UISourceCode} uiSourceCode
|
| * @param {number} lineNumber
|
| @@ -656,56 +661,6 @@ WebInspector.UILocation.prototype = {
|
| }
|
|
|
| /**
|
| - * @interface
|
| - */
|
| -WebInspector.RawLocation = function()
|
| -{
|
| -}
|
| -
|
| -/**
|
| - * @constructor
|
| - * @param {!WebInspector.RawLocation} rawLocation
|
| - * @param {function(!WebInspector.UILocation):(boolean|undefined)} updateDelegate
|
| - */
|
| -WebInspector.LiveLocation = function(rawLocation, updateDelegate)
|
| -{
|
| - this._rawLocation = rawLocation;
|
| - this._updateDelegate = updateDelegate;
|
| -}
|
| -
|
| -WebInspector.LiveLocation.prototype = {
|
| - update: function()
|
| - {
|
| - var uiLocation = this.uiLocation();
|
| - if (!uiLocation)
|
| - return;
|
| - if (this._updateDelegate(uiLocation))
|
| - this.dispose();
|
| - },
|
| -
|
| - /**
|
| - * @return {!WebInspector.RawLocation}
|
| - */
|
| - rawLocation: function()
|
| - {
|
| - return this._rawLocation;
|
| - },
|
| -
|
| - /**
|
| - * @return {!WebInspector.UILocation}
|
| - */
|
| - uiLocation: function()
|
| - {
|
| - throw "Not implemented";
|
| - },
|
| -
|
| - dispose: function()
|
| - {
|
| - // Overridden by subclasses.
|
| - }
|
| -}
|
| -
|
| -/**
|
| * @constructor
|
| * @implements {WebInspector.ContentProvider}
|
| * @param {!WebInspector.UISourceCode} uiSourceCode
|
|
|