| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 * @param {!WebInspector.TimelineModel} model | 106 * @param {!WebInspector.TimelineModel} model |
| 107 * @param {!WebInspector.Linkifier} linkifier | 107 * @param {!WebInspector.Linkifier} linkifier |
| 108 * @param {function(!DocumentFragment)} callback | 108 * @param {function(!DocumentFragment)} callback |
| 109 * @param {boolean} loadedFromFile | 109 * @param {boolean} loadedFromFile |
| 110 */ | 110 */ |
| 111 generateDetailsContent: function(record, model, linkifier, callback, loadedF
romFile) | 111 generateDetailsContent: function(record, model, linkifier, callback, loadedF
romFile) |
| 112 { | 112 { |
| 113 throw new Error("Not implemented."); | 113 throw new Error("Not implemented."); |
| 114 }, | 114 }, |
| 115 /** | 115 /** |
| 116 * @return {!Element} |
| 117 */ |
| 118 createBeginFrameDivider: function() |
| 119 { |
| 120 throw new Error("Not implemented."); |
| 121 }, |
| 122 /** |
| 116 * @param {string} recordType | 123 * @param {string} recordType |
| 117 * @param {string=} title | 124 * @param {string=} title |
| 118 * @return {!Element} | 125 * @return {!Element} |
| 119 */ | 126 */ |
| 120 createEventDivider: function(recordType, title) | 127 createEventDivider: function(recordType, title) |
| 121 { | 128 { |
| 122 throw new Error("Not implemented."); | 129 throw new Error("Not implemented."); |
| 123 }, | 130 }, |
| 124 /** | 131 /** |
| 125 * @param {!WebInspector.TimelineModel.Record} record | 132 * @param {!WebInspector.TimelineModel.Record} record |
| (...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 for (var i = 0; i < stackTrace.length; ++i) { | 645 for (var i = 0; i < stackTrace.length; ++i) { |
| 639 var stackFrame = stackTrace[i]; | 646 var stackFrame = stackTrace[i]; |
| 640 var row = stackTraceElement.createChild("div"); | 647 var row = stackTraceElement.createChild("div"); |
| 641 row.createTextChild(stackFrame.functionName || WebInspector.UIString
("(anonymous function)")); | 648 row.createTextChild(stackFrame.functionName || WebInspector.UIString
("(anonymous function)")); |
| 642 row.createTextChild(" @ "); | 649 row.createTextChild(" @ "); |
| 643 var urlElement = this._linkifier.linkifyLocation(this._target, stack
Frame.url, stackFrame.lineNumber - 1); | 650 var urlElement = this._linkifier.linkifyLocation(this._target, stack
Frame.url, stackFrame.lineNumber - 1); |
| 644 row.appendChild(urlElement); | 651 row.appendChild(urlElement); |
| 645 } | 652 } |
| 646 } | 653 } |
| 647 } | 654 } |
| OLD | NEW |