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

Side by Side Diff: Source/devtools/front_end/timeline/TimelineUIUtils.js

Issue 335103003: Use TimelineUIUtils to create BeginFrame divider (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/devtools/front_end/timeline/TimelineUIUtilsImpl.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) 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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/timeline/TimelineUIUtilsImpl.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698