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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 enabled: enabled | 644 enabled: enabled |
645 }); | 645 }); |
646 }, | 646 }, |
647 | 647 |
648 /** | 648 /** |
649 * @param {number} lineNumber | 649 * @param {number} lineNumber |
650 */ | 650 */ |
651 _continueToLine: function(lineNumber) | 651 _continueToLine: function(lineNumber) |
652 { | 652 { |
653 var rawLocation = /** @type {!WebInspector.DebuggerModel.Location} */ (t
his._uiSourceCode.uiLocationToRawLocation(lineNumber, 0)); | 653 var rawLocation = /** @type {!WebInspector.DebuggerModel.Location} */ (t
his._uiSourceCode.uiLocationToRawLocation(lineNumber, 0)); |
654 this._scriptsPanel.continueToLocation(rawLocation); | 654 rawLocation.continueToLocation(); |
655 }, | 655 }, |
656 | 656 |
657 dispose: function() | 657 dispose: function() |
658 { | 658 { |
659 this._breakpointManager.removeEventListener(WebInspector.BreakpointManag
er.Events.BreakpointAdded, this._breakpointAdded, this); | 659 this._breakpointManager.removeEventListener(WebInspector.BreakpointManag
er.Events.BreakpointAdded, this._breakpointAdded, this); |
660 this._breakpointManager.removeEventListener(WebInspector.BreakpointManag
er.Events.BreakpointRemoved, this._breakpointRemoved, this); | 660 this._breakpointManager.removeEventListener(WebInspector.BreakpointManag
er.Events.BreakpointRemoved, this._breakpointRemoved, this); |
661 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
ConsoleMessageAdded, this._consoleMessageAdded, this); | 661 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
ConsoleMessageAdded, this._consoleMessageAdded, this); |
662 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
ConsoleMessageRemoved, this._consoleMessageRemoved, this); | 662 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
ConsoleMessageRemoved, this._consoleMessageRemoved, this); |
663 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
ConsoleMessagesCleared, this._consoleMessagesCleared, this); | 663 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
ConsoleMessagesCleared, this._consoleMessagesCleared, this); |
664 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
SourceMappingChanged, this._onSourceMappingChanged, this); | 664 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
SourceMappingChanged, this._onSourceMappingChanged, this); |
665 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
WorkingCopyChanged, this._workingCopyChanged, this); | 665 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
WorkingCopyChanged, this._workingCopyChanged, this); |
666 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
WorkingCopyCommitted, this._workingCopyCommitted, this); | 666 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events.
WorkingCopyCommitted, this._workingCopyCommitted, this); |
667 WebInspector.UISourceCodeFrame.prototype.dispose.call(this); | 667 WebInspector.UISourceCodeFrame.prototype.dispose.call(this); |
668 }, | 668 }, |
669 | 669 |
670 __proto__: WebInspector.UISourceCodeFrame.prototype | 670 __proto__: WebInspector.UISourceCodeFrame.prototype |
671 } | 671 } |
OLD | NEW |