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

Side by Side Diff: Source/devtools/front_end/CallStackSidebarPane.js

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 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
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 for (var i = 0; i < this.placards.length; ++i) 134 for (var i = 0; i < this.placards.length; ++i)
135 text += this.placards[i].title + " (" + this.placards[i].subtitle + ")\n"; 135 text += this.placards[i].title + " (" + this.placards[i].subtitle + ")\n";
136 InspectorFrontendHost.copyText(text); 136 InspectorFrontendHost.copyText(text);
137 }, 137 },
138 138
139 /** 139 /**
140 * @param {function(!Array.<!WebInspector.KeyboardShortcut.Descriptor>, func tion(Event=):boolean)} registerShortcutDelegate 140 * @param {function(!Array.<!WebInspector.KeyboardShortcut.Descriptor>, func tion(Event=):boolean)} registerShortcutDelegate
141 */ 141 */
142 registerShortcuts: function(registerShortcutDelegate) 142 registerShortcuts: function(registerShortcutDelegate)
143 { 143 {
144 registerShortcutDelegate(WebInspector.ScriptsPanelDescriptor.ShortcutKey s.NextCallFrame, this._selectNextCallFrameOnStack.bind(this)); 144 registerShortcutDelegate(WebInspector.SourcesPanelDescriptor.ShortcutKey s.NextCallFrame, this._selectNextCallFrameOnStack.bind(this));
145 registerShortcutDelegate(WebInspector.ScriptsPanelDescriptor.ShortcutKey s.PrevCallFrame, this._selectPreviousCallFrameOnStack.bind(this)); 145 registerShortcutDelegate(WebInspector.SourcesPanelDescriptor.ShortcutKey s.PrevCallFrame, this._selectPreviousCallFrameOnStack.bind(this));
146 }, 146 },
147 147
148 setStatus: function(status) 148 setStatus: function(status)
149 { 149 {
150 if (!this._statusMessageElement) { 150 if (!this._statusMessageElement) {
151 this._statusMessageElement = document.createElement("div"); 151 this._statusMessageElement = document.createElement("div");
152 this._statusMessageElement.className = "info"; 152 this._statusMessageElement.className = "info";
153 this.bodyElement.appendChild(this._statusMessageElement); 153 this.bodyElement.appendChild(this._statusMessageElement);
154 } 154 }
155 if (typeof status === "string") 155 if (typeof status === "string")
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 contextMenu.show(); 211 contextMenu.show();
212 }, 212 },
213 213
214 _restartFrame: function() 214 _restartFrame: function()
215 { 215 {
216 this._callFrame.restart(undefined); 216 this._callFrame.restart(undefined);
217 }, 217 },
218 218
219 __proto__: WebInspector.Placard.prototype 219 __proto__: WebInspector.Placard.prototype
220 } 220 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/CPUProfileView.js ('k') | Source/devtools/front_end/FilteredItemSelectionDialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698