| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 hiddenRecordsFilter: function() | 159 hiddenRecordsFilter: function() |
| 160 { | 160 { |
| 161 throw new Error("Not implemented."); | 161 throw new Error("Not implemented."); |
| 162 }, | 162 }, |
| 163 /** | 163 /** |
| 164 * @return {?WebInspector.TimelineModel.Filter} | 164 * @return {?WebInspector.TimelineModel.Filter} |
| 165 */ | 165 */ |
| 166 hiddenEmptyRecordsFilter: function() | 166 hiddenEmptyRecordsFilter: function() |
| 167 { | 167 { |
| 168 return null; | 168 return null; |
| 169 }, | |
| 170 /** | |
| 171 * @param {!WebInspector.TimelineModel} model | |
| 172 * @return {!WebInspector.TimelineModel.Record} | |
| 173 */ | |
| 174 createProgramRecord: function(model) | |
| 175 { | |
| 176 throw new Error("Not implemented."); | |
| 177 } | 169 } |
| 178 } | 170 } |
| 179 | 171 |
| 180 /** | 172 /** |
| 181 * @return {!Object.<string, !WebInspector.TimelineCategory>} | 173 * @return {!Object.<string, !WebInspector.TimelineCategory>} |
| 182 */ | 174 */ |
| 183 WebInspector.TimelineUIUtils.categories = function() | 175 WebInspector.TimelineUIUtils.categories = function() |
| 184 { | 176 { |
| 185 if (WebInspector.TimelineUIUtils._categories) | 177 if (WebInspector.TimelineUIUtils._categories) |
| 186 return WebInspector.TimelineUIUtils._categories; | 178 return WebInspector.TimelineUIUtils._categories; |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 for (var i = 0; i < stackTrace.length; ++i) { | 569 for (var i = 0; i < stackTrace.length; ++i) { |
| 578 var stackFrame = stackTrace[i]; | 570 var stackFrame = stackTrace[i]; |
| 579 var row = stackTraceElement.createChild("div"); | 571 var row = stackTraceElement.createChild("div"); |
| 580 row.createTextChild(stackFrame.functionName || WebInspector.UIString
("(anonymous function)")); | 572 row.createTextChild(stackFrame.functionName || WebInspector.UIString
("(anonymous function)")); |
| 581 row.createTextChild(" @ "); | 573 row.createTextChild(" @ "); |
| 582 var urlElement = this._linkifier.linkifyLocationByScriptId(this._tar
get, stackFrame.scriptId, stackFrame.url, stackFrame.lineNumber - 1, stackFrame.
columnNumber - 1); | 574 var urlElement = this._linkifier.linkifyLocationByScriptId(this._tar
get, stackFrame.scriptId, stackFrame.url, stackFrame.lineNumber - 1, stackFrame.
columnNumber - 1); |
| 583 row.appendChild(urlElement); | 575 row.appendChild(urlElement); |
| 584 } | 576 } |
| 585 } | 577 } |
| 586 } | 578 } |
| OLD | NEW |