OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 var callFrame = /** @type {!WebInspector.DebuggerModel.CallFrame} */ (ev
ent.data); | 576 var callFrame = /** @type {!WebInspector.DebuggerModel.CallFrame} */ (ev
ent.data); |
577 delete this._skipExecutionLineRevealing; | 577 delete this._skipExecutionLineRevealing; |
578 WebInspector.debuggerModel.setSelectedCallFrame(callFrame); | 578 WebInspector.debuggerModel.setSelectedCallFrame(callFrame); |
579 }, | 579 }, |
580 | 580 |
581 _callFrameRestartedInSidebar: function() | 581 _callFrameRestartedInSidebar: function() |
582 { | 582 { |
583 delete this._skipExecutionLineRevealing; | 583 delete this._skipExecutionLineRevealing; |
584 }, | 584 }, |
585 | 585 |
| 586 /** |
| 587 * @param {!WebInspector.DebuggerModel.Location} rawLocation |
| 588 */ |
586 continueToLocation: function(rawLocation) | 589 continueToLocation: function(rawLocation) |
587 { | 590 { |
588 if (!this._paused) | 591 if (!this._paused) |
589 return; | 592 return; |
590 | 593 |
591 delete this._skipExecutionLineRevealing; | 594 delete this._skipExecutionLineRevealing; |
592 this._paused = false; | 595 this._paused = false; |
593 this._clearInterface(); | 596 this._clearInterface(); |
594 WebInspector.debuggerModel.continueToLocation(rawLocation); | 597 rawLocation.continueToLocation(); |
595 }, | 598 }, |
596 | 599 |
597 _toggleBreakpointsClicked: function(event) | 600 _toggleBreakpointsClicked: function(event) |
598 { | 601 { |
599 WebInspector.debuggerModel.setBreakpointsActive(!WebInspector.debuggerMo
del.breakpointsActive()); | 602 WebInspector.debuggerModel.setBreakpointsActive(!WebInspector.debuggerMo
del.breakpointsActive()); |
600 }, | 603 }, |
601 | 604 |
602 _breakpointsActiveStateChanged: function(event) | 605 _breakpointsActiveStateChanged: function(event) |
603 { | 606 { |
604 var active = event.data; | 607 var active = event.data; |
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1232 WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate.prototype = { | 1235 WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate.prototype = { |
1233 /** | 1236 /** |
1234 * @return {boolean} | 1237 * @return {boolean} |
1235 */ | 1238 */ |
1236 handleAction: function() | 1239 handleAction: function() |
1237 { | 1240 { |
1238 /** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorView.sh
owPanel("sources")).showGoToSourceDialog(); | 1241 /** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorView.sh
owPanel("sources")).showGoToSourceDialog(); |
1239 return true; | 1242 return true; |
1240 } | 1243 } |
1241 } | 1244 } |
OLD | NEW |