Index: third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js |
index defd13197937ad2fbacd05127974e09b29306ded..1ef6f3503f5d28965967f3a77a8cfe0b55e3cd6b 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js |
@@ -26,8 +26,8 @@ WebInspector.ProfileView = function(nodeFormatter, viewTypes) |
this._nodeFormatter = nodeFormatter; |
var columns = []; |
- columns.push({id: "self", title: WebInspector.UIString("Self"), width: "120px", sort: WebInspector.DataGrid.Order.Descending, sortable: true}); |
- columns.push({id: "total", title: WebInspector.UIString("Total"), width: "120px", sortable: true}); |
+ columns.push({id: "self", title: this.columnHeader("self"), width: "120px", sort: WebInspector.DataGrid.Order.Descending, sortable: true}); |
+ columns.push({id: "total", title: this.columnHeader("total"), width: "120px", sortable: true}); |
columns.push({id: "function", title: WebInspector.UIString("Function"), disclosure: true, sortable: true}); |
this.dataGrid = new WebInspector.DataGrid(columns); |
@@ -82,6 +82,15 @@ WebInspector.ProfileView.prototype = { |
}, |
/** |
+ * @param {string} columnId |
+ * @return {string} |
+ */ |
+ columnHeader: function(columnId) |
+ { |
+ throw "Not implemented"; |
+ }, |
+ |
+ /** |
* @return {?WebInspector.Target} |
*/ |
target: function() |