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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js

Issue 1929803002: DevTools: Update profiler strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.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 /* 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 __proto__: WebInspector.ProfileView.prototype 56 __proto__: WebInspector.ProfileView.prototype
57 } 57 }
58 58
59 /** 59 /**
60 * @constructor 60 * @constructor
61 * @extends {WebInspector.ProfileType} 61 * @extends {WebInspector.ProfileType}
62 */ 62 */
63 WebInspector.CPUProfileType = function() 63 WebInspector.CPUProfileType = function()
64 { 64 {
65 WebInspector.ProfileType.call(this, WebInspector.CPUProfileType.TypeId, WebI nspector.UIString("Collect JavaScript CPU Profile")); 65 WebInspector.ProfileType.call(this, WebInspector.CPUProfileType.TypeId, WebI nspector.UIString("Record JavaScript CPU Profile"));
66 this._recording = false; 66 this._recording = false;
67 67
68 this._nextAnonymousConsoleProfileNumber = 1; 68 this._nextAnonymousConsoleProfileNumber = 1;
69 this._anonymousConsoleProfileIdToTitle = {}; 69 this._anonymousConsoleProfileIdToTitle = {};
70 70
71 WebInspector.CPUProfileType.instance = this; 71 WebInspector.CPUProfileType.instance = this;
72 WebInspector.targetManager.addModelListener(WebInspector.CPUProfilerModel, W ebInspector.CPUProfilerModel.EventTypes.ConsoleProfileStarted, this._consoleProf ileStarted, this); 72 WebInspector.targetManager.addModelListener(WebInspector.CPUProfilerModel, W ebInspector.CPUProfilerModel.EventTypes.ConsoleProfileStarted, this._consoleProf ileStarted, this);
73 WebInspector.targetManager.addModelListener(WebInspector.CPUProfilerModel, W ebInspector.CPUProfilerModel.EventTypes.ConsoleProfileFinished, this._consolePro fileFinished, this); 73 WebInspector.targetManager.addModelListener(WebInspector.CPUProfilerModel, W ebInspector.CPUProfilerModel.EventTypes.ConsoleProfileFinished, this._consolePro fileFinished, this);
74 } 74 }
75 75
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 * @override 326 * @override
327 * @param {!WebInspector.ProfileDataGridNode} node 327 * @param {!WebInspector.ProfileDataGridNode} node
328 * @return {!Element} 328 * @return {!Element}
329 */ 329 */
330 linkifyNode: function(node) 330 linkifyNode: function(node)
331 { 331 {
332 var callFrame = node.profileNode.frame; 332 var callFrame = node.profileNode.frame;
333 return this._profileView.linkifier().linkifyConsoleCallFrame(this._profi leView.target(), callFrame, "profile-node-file"); 333 return this._profileView.linkifier().linkifyConsoleCallFrame(this._profi leView.target(), callFrame, "profile-node-file");
334 } 334 }
335 } 335 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698