| 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 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 | 818 |
| 819 /** | 819 /** |
| 820 * @param {number} lineNumber | 820 * @param {number} lineNumber |
| 821 */ | 821 */ |
| 822 _continueToLine: function(lineNumber) | 822 _continueToLine: function(lineNumber) |
| 823 { | 823 { |
| 824 var executionContext = WebInspector.context.flavor(WebInspector.Executio
nContext); | 824 var executionContext = WebInspector.context.flavor(WebInspector.Executio
nContext); |
| 825 if (!executionContext) | 825 if (!executionContext) |
| 826 return; | 826 return; |
| 827 var rawLocation = /** @type {!WebInspector.DebuggerModel.Location} */ (t
his._uiSourceCode.uiLocationToRawLocation(executionContext.target(), lineNumber,
0)); | 827 var rawLocation = /** @type {!WebInspector.DebuggerModel.Location} */ (t
his._uiSourceCode.uiLocationToRawLocation(executionContext.target(), lineNumber,
0)); |
| 828 rawLocation.continueToLocation(); | 828 this._scriptsPanel.continueToLocation(rawLocation); |
| 829 }, | 829 }, |
| 830 | 830 |
| 831 dispose: function() | 831 dispose: function() |
| 832 { | 832 { |
| 833 this._breakpointManager.removeEventListener(WebInspector.BreakpointManag
er.Events.BreakpointAdded, this._breakpointAdded, this); | 833 this._breakpointManager.removeEventListener(WebInspector.BreakpointManag
er.Events.BreakpointAdded, this._breakpointAdded, this); |
| 834 this._breakpointManager.removeEventListener(WebInspector.BreakpointManag
er.Events.BreakpointRemoved, this._breakpointRemoved, this); | 834 this._breakpointManager.removeEventListener(WebInspector.BreakpointManag
er.Events.BreakpointRemoved, this._breakpointRemoved, this); |
| 835 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
ConsoleMessageAdded, this._consoleMessageAdded, this); | 835 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
ConsoleMessageAdded, this._consoleMessageAdded, this); |
| 836 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
ConsoleMessageRemoved, this._consoleMessageRemoved, this); | 836 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
ConsoleMessageRemoved, this._consoleMessageRemoved, this); |
| 837 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
ConsoleMessagesCleared, this._consoleMessagesCleared, this); | 837 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
ConsoleMessagesCleared, this._consoleMessagesCleared, this); |
| 838 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
SourceMappingChanged, this._onSourceMappingChanged, this); | 838 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
SourceMappingChanged, this._onSourceMappingChanged, this); |
| 839 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
WorkingCopyChanged, this._workingCopyChanged, this); | 839 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
WorkingCopyChanged, this._workingCopyChanged, this); |
| 840 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
WorkingCopyCommitted, this._workingCopyCommitted, this); | 840 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
WorkingCopyCommitted, this._workingCopyCommitted, this); |
| 841 WebInspector.UISourceCodeFrame.prototype.dispose.call(this); | 841 WebInspector.UISourceCodeFrame.prototype.dispose.call(this); |
| 842 }, | 842 }, |
| 843 | 843 |
| 844 __proto__: WebInspector.UISourceCodeFrame.prototype | 844 __proto__: WebInspector.UISourceCodeFrame.prototype |
| 845 } | 845 } |
| OLD | NEW |