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

Side by Side Diff: webkit/glue/devtools/js/debugger_agent.js

Issue 355012: DevTools: prepare for WebKit change 50460. (Closed)
Patch Set: Created 11 years, 1 month 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 | webkit/glue/devtools/js/devtools.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Provides communication interface to remote v8 debugger. See 6 * @fileoverview Provides communication interface to remote v8 debugger. See
7 * protocol decription at http://code.google.com/p/v8/wiki/DebuggerProtocol 7 * protocol decription at http://code.google.com/p/v8/wiki/DebuggerProtocol
8 */ 8 */
9 goog.provide('devtools.DebuggerAgent'); 9 goog.provide('devtools.DebuggerAgent');
10 10
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 // manipulation which doesn't play well with dynamic append / removal. 655 // manipulation which doesn't play well with dynamic append / removal.
656 processingIcon.subtitle = ' '; 656 processingIcon.subtitle = ' ';
657 profilesSidebar.appendChild(processingIcon); 657 profilesSidebar.appendChild(processingIcon);
658 }, 658 },
659 function onProfileProcessingStatus(ticksCount) { 659 function onProfileProcessingStatus(ticksCount) {
660 processingIcon.subtitle = 660 processingIcon.subtitle =
661 WebInspector.UIString('%d ticks processed', ticksCount); 661 WebInspector.UIString('%d ticks processed', ticksCount);
662 }, 662 },
663 function onProfileProcessingFinished(profile) { 663 function onProfileProcessingFinished(profile) {
664 profilesSidebar.removeChild(processingIcon); 664 profilesSidebar.removeChild(processingIcon);
665 WebInspector.addProfile(profile); 665 profile.typeId = WebInspector.CPUProfileType.TypeId;
666 InspectorController.addFullProfile(profile);
667 WebInspector.addProfileHeader(profile);
666 // If no profile is currently shown, show the new one. 668 // If no profile is currently shown, show the new one.
667 var profilesPanel = WebInspector.panels.profiles; 669 var profilesPanel = WebInspector.panels.profiles;
668 if (!profilesPanel.visibleView) { 670 if (!profilesPanel.visibleView) {
669 profilesPanel.showProfile(profile); 671 profilesPanel.showProfile(profile);
670 } 672 }
671 } 673 }
672 ); 674 );
673 }; 675 };
674 676
675 677
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 1577
1576 1578
1577 /** 1579 /**
1578 * @param {number} handle Object handle. 1580 * @param {number} handle Object handle.
1579 * @return {?Object} Returns the object with the handle if it was sent in this 1581 * @return {?Object} Returns the object with the handle if it was sent in this
1580 * message(some objects referenced by handles may be missing in the message). 1582 * message(some objects referenced by handles may be missing in the message).
1581 */ 1583 */
1582 devtools.DebuggerMessage.prototype.lookup = function(handle) { 1584 devtools.DebuggerMessage.prototype.lookup = function(handle) {
1583 return this.refs_[handle]; 1585 return this.refs_[handle];
1584 }; 1586 };
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/devtools/js/devtools.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698