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

Side by Side Diff: Source/WebCore/inspector/front-end/CallStackSidebarPane.js

Issue 12225145: Merge 142127 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 10 months 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 * 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 22 matching lines...) Expand all
33 this._model = WebInspector.debuggerModel; 33 this._model = WebInspector.debuggerModel;
34 34
35 this.bodyElement.addEventListener("keydown", this._keyDown.bind(this), true) ; 35 this.bodyElement.addEventListener("keydown", this._keyDown.bind(this), true) ;
36 this.bodyElement.tabIndex = 0; 36 this.bodyElement.tabIndex = 0;
37 } 37 }
38 38
39 WebInspector.CallStackSidebarPane.prototype = { 39 WebInspector.CallStackSidebarPane.prototype = {
40 update: function(callFrames) 40 update: function(callFrames)
41 { 41 {
42 this.bodyElement.removeChildren(); 42 this.bodyElement.removeChildren();
43 delete this._statusMessageElement;
43 this.placards = []; 44 this.placards = [];
44 45
45 if (!callFrames) { 46 if (!callFrames) {
46 var infoElement = document.createElement("div"); 47 var infoElement = document.createElement("div");
47 infoElement.className = "info"; 48 infoElement.className = "info";
48 infoElement.textContent = WebInspector.UIString("Not Paused"); 49 infoElement.textContent = WebInspector.UIString("Not Paused");
49 this.bodyElement.appendChild(infoElement); 50 this.bodyElement.appendChild(infoElement);
50 return; 51 return;
51 } 52 }
52 53
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 contextMenu.show(); 191 contextMenu.show();
191 }, 192 },
192 193
193 _restartFrame: function() 194 _restartFrame: function()
194 { 195 {
195 this._callFrame.restart(undefined); 196 this._callFrame.restart(undefined);
196 }, 197 },
197 198
198 __proto__: WebInspector.Placard.prototype 199 __proto__: WebInspector.Placard.prototype
199 } 200 }
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