| OLD | NEW | 
|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 /** | 5 /** | 
| 6  * @constructor | 6  * @constructor | 
| 7  * @implements {WebInspector.TargetManager.Observer} | 7  * @implements {WebInspector.TargetManager.Observer} | 
| 8  * @param {!WebInspector.TargetManager} targetManager | 8  * @param {!WebInspector.TargetManager} targetManager | 
| 9  * @param {!WebInspector.Workspace} workspace | 9  * @param {!WebInspector.Workspace} workspace | 
| 10  * @param {!WebInspector.NetworkMapping} networkMapping | 10  * @param {!WebInspector.NetworkMapping} networkMapping | 
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 236      */ | 236      */ | 
| 237     sourceMapForScript: function(script) | 237     sourceMapForScript: function(script) | 
| 238     { | 238     { | 
| 239         var targetData = this._targetToData.get(script.target()); | 239         var targetData = this._targetToData.get(script.target()); | 
| 240         if (!targetData) | 240         if (!targetData) | 
| 241             return null; | 241             return null; | 
| 242         return targetData._compilerMapping.sourceMapForScript(script); | 242         return targetData._compilerMapping.sourceMapForScript(script); | 
| 243     }, | 243     }, | 
| 244 | 244 | 
| 245     /** | 245     /** | 
|  | 246      * @param {!WebInspector.Script} script | 
|  | 247      */ | 
|  | 248     maybeLoadSourceMap: function(script) | 
|  | 249     { | 
|  | 250         var targetData = this._targetToData.get(script.target()); | 
|  | 251         if (!targetData) | 
|  | 252             return; | 
|  | 253         targetData._compilerMapping.maybeLoadSourceMap(script); | 
|  | 254     }, | 
|  | 255 | 
|  | 256     /** | 
| 246      * @param {!WebInspector.Event} event | 257      * @param {!WebInspector.Event} event | 
| 247      */ | 258      */ | 
| 248     _globalObjectCleared: function(event) | 259     _globalObjectCleared: function(event) | 
| 249     { | 260     { | 
| 250         var debuggerModel = /** @type {!WebInspector.DebuggerModel} */ (event.ta
     rget); | 261         var debuggerModel = /** @type {!WebInspector.DebuggerModel} */ (event.ta
     rget); | 
| 251         this._reset(debuggerModel.target()); | 262         this._reset(debuggerModel.target()); | 
| 252     }, | 263     }, | 
| 253 | 264 | 
| 254     /** | 265     /** | 
| 255      * @param {!WebInspector.Target} target | 266      * @param {!WebInspector.Target} target | 
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 583      * @param {number} lineNumber | 594      * @param {number} lineNumber | 
| 584      * @return {boolean} | 595      * @return {boolean} | 
| 585      */ | 596      */ | 
| 586     uiLineHasMapping: function(uiSourceCode, lineNumber) { } | 597     uiLineHasMapping: function(uiSourceCode, lineNumber) { } | 
| 587 } | 598 } | 
| 588 | 599 | 
| 589 /** | 600 /** | 
| 590  * @type {!WebInspector.DebuggerWorkspaceBinding} | 601  * @type {!WebInspector.DebuggerWorkspaceBinding} | 
| 591  */ | 602  */ | 
| 592 WebInspector.debuggerWorkspaceBinding; | 603 WebInspector.debuggerWorkspaceBinding; | 
| OLD | NEW | 
|---|