| 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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 } | 299 } |
| 300 | 300 |
| 301 /** | 301 /** |
| 302 * @param {!SDK.DebuggerPausedDetails} details | 302 * @param {!SDK.DebuggerPausedDetails} details |
| 303 */ | 303 */ |
| 304 _showDebuggerPausedDetails(details) { | 304 _showDebuggerPausedDetails(details) { |
| 305 this._paused = true; | 305 this._paused = true; |
| 306 this._updateDebuggerButtonsAndStatus(); | 306 this._updateDebuggerButtonsAndStatus(); |
| 307 UI.context.setFlavor(SDK.DebuggerPausedDetails, details); | 307 UI.context.setFlavor(SDK.DebuggerPausedDetails, details); |
| 308 this._toggleDebuggerSidebarButton.setEnabled(false); | 308 this._toggleDebuggerSidebarButton.setEnabled(false); |
| 309 this._revealDebuggerSidebar(); |
| 309 window.focus(); | 310 window.focus(); |
| 310 InspectorFrontendHost.bringToFront(); | 311 InspectorFrontendHost.bringToFront(); |
| 311 } | 312 } |
| 312 | 313 |
| 313 /** | 314 /** |
| 314 * @param {!Common.Event} event | 315 * @param {!Common.Event} event |
| 315 */ | 316 */ |
| 316 _debuggerResumed(event) { | 317 _debuggerResumed(event) { |
| 317 var debuggerModel = /** @type {!SDK.DebuggerModel} */ (event.target); | 318 var debuggerModel = /** @type {!SDK.DebuggerModel} */ (event.target); |
| 318 var target = debuggerModel.target(); | 319 var target = debuggerModel.target(); |
| (...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1318 */ | 1319 */ |
| 1319 willHide() { | 1320 willHide() { |
| 1320 UI.inspectorView.setDrawerMinimized(false); | 1321 UI.inspectorView.setDrawerMinimized(false); |
| 1321 setImmediate(() => Sources.SourcesPanel.updateResizerAndSidebarButtons(Sourc
es.SourcesPanel.instance())); | 1322 setImmediate(() => Sources.SourcesPanel.updateResizerAndSidebarButtons(Sourc
es.SourcesPanel.instance())); |
| 1322 } | 1323 } |
| 1323 | 1324 |
| 1324 _showViewInWrapper() { | 1325 _showViewInWrapper() { |
| 1325 this._view.show(this.element); | 1326 this._view.show(this.element); |
| 1326 } | 1327 } |
| 1327 }; | 1328 }; |
| OLD | NEW |