| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2011 Google Inc. All rights reserved. | 2  * Copyright (C) 2011 Google Inc. All rights reserved. | 
| 3  * | 3  * | 
| 4  * Redistribution and use in source and binary forms, with or without | 4  * Redistribution and use in source and binary forms, with or without | 
| 5  * modification, are permitted provided that the following conditions are | 5  * modification, are permitted provided that the following conditions are | 
| 6  * met: | 6  * met: | 
| 7  * | 7  * | 
| 8  *     * Redistributions of source code must retain the above copyright | 8  *     * Redistributions of source code must retain the above copyright | 
| 9  * notice, this list of conditions and the following disclaimer. | 9  * notice, this list of conditions and the following disclaimer. | 
| 10  *     * Redistributions in binary form must reproduce the above | 10  *     * Redistributions in binary form must reproduce the above | 
| (...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 912     /** | 912     /** | 
| 913      * @param {!WebInspector.Event} event | 913      * @param {!WebInspector.Event} event | 
| 914      */ | 914      */ | 
| 915     _breakpointResolved: function(event) | 915     _breakpointResolved: function(event) | 
| 916     { | 916     { | 
| 917         this._addResolvedLocation(/** @type {!WebInspector.DebuggerModel.Locatio
      n}*/ (event.data)); | 917         this._addResolvedLocation(/** @type {!WebInspector.DebuggerModel.Locatio
      n}*/ (event.data)); | 
| 918     }, | 918     }, | 
| 919 | 919 | 
| 920     /** | 920     /** | 
| 921      * @param {!WebInspector.DebuggerModel.Location} location | 921      * @param {!WebInspector.DebuggerModel.Location} location | 
| 922      * @param {!WebInspector.UILocation} uiLocation | 922      * @param {!WebInspector.LiveLocation} liveLocation | 
| 923      */ | 923      */ | 
| 924     _locationUpdated: function(location, uiLocation) | 924     _locationUpdated: function(location, liveLocation) | 
| 925     { | 925     { | 
|  | 926         var uiLocation = liveLocation.uiLocation(); | 
|  | 927         if (!uiLocation) | 
|  | 928             return; | 
| 926         var oldUILocation = this._uiLocations[location.id()] || null; | 929         var oldUILocation = this._uiLocations[location.id()] || null; | 
| 927         this._uiLocations[location.id()] = uiLocation; | 930         this._uiLocations[location.id()] = uiLocation; | 
| 928         this._breakpoint._replaceUILocation(oldUILocation, uiLocation); | 931         this._breakpoint._replaceUILocation(oldUILocation, uiLocation); | 
| 929     }, | 932     }, | 
| 930 | 933 | 
| 931     /** | 934     /** | 
| 932      * @param {!WebInspector.DebuggerModel.Location} location | 935      * @param {!WebInspector.DebuggerModel.Location} location | 
| 933      * @return {boolean} | 936      * @return {boolean} | 
| 934      */ | 937      */ | 
| 935     _addResolvedLocation: function(location) | 938     _addResolvedLocation: function(location) | 
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1082 { | 1085 { | 
| 1083     this.sourceFileId = breakpoint._sourceFileId; | 1086     this.sourceFileId = breakpoint._sourceFileId; | 
| 1084     this.lineNumber = breakpoint.lineNumber(); | 1087     this.lineNumber = breakpoint.lineNumber(); | 
| 1085     this.columnNumber = breakpoint.columnNumber(); | 1088     this.columnNumber = breakpoint.columnNumber(); | 
| 1086     this.condition = breakpoint.condition(); | 1089     this.condition = breakpoint.condition(); | 
| 1087     this.enabled = breakpoint.enabled(); | 1090     this.enabled = breakpoint.enabled(); | 
| 1088 } | 1091 } | 
| 1089 | 1092 | 
| 1090 /** @type {!WebInspector.BreakpointManager} */ | 1093 /** @type {!WebInspector.BreakpointManager} */ | 
| 1091 WebInspector.breakpointManager; | 1094 WebInspector.breakpointManager; | 
| OLD | NEW | 
|---|