Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js

Issue 2549363002: [DevTools] reveal debugger sidebar on pause (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698