Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 827 } | 827 } |
| 828 | 828 |
| 829 for (var i = 0; i < this._currentViews.length; ++i) { | 829 for (var i = 0; i < this._currentViews.length; ++i) { |
| 830 var view = this._currentViews[i]; | 830 var view = this._currentViews[i]; |
| 831 view.setSelectedRecord(record); | 831 view.setSelectedRecord(record); |
| 832 } | 832 } |
| 833 if (!record) { | 833 if (!record) { |
| 834 this._updateSelectionDetails(); | 834 this._updateSelectionDetails(); |
| 835 return; | 835 return; |
| 836 } | 836 } |
| 837 record.generatePopupContent(record, this._detailsLinkifier, showCallback .bind(this)); | 837 WebInspector.TimelineUIUtils.generatePopupContent.generatePopupContent(r ecord, this._detailsLinkifier, showCallback.bind(this)); |
|
caseq
2014/03/03 09:15:35
WebInspector.TimelineUIUtils.generatePopupContent.
pfeldman
2014/03/03 09:35:33
Oops, yes, I had this fixed locally. Sorry :)
Don
| |
| 838 | 838 |
| 839 /** | 839 /** |
| 840 * @param {!DocumentFragment} element | 840 * @param {!DocumentFragment} element |
| 841 * @this {WebInspector.TimelinePanel} | 841 * @this {WebInspector.TimelinePanel} |
| 842 */ | 842 */ |
| 843 function showCallback(element) | 843 function showCallback(element) |
| 844 { | 844 { |
| 845 this._detailsView.setContent(record.title(), element); | 845 this._detailsView.setContent(record.title(), element); |
| 846 } | 846 } |
| 847 }, | 847 }, |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1046 | 1046 |
| 1047 /** | 1047 /** |
| 1048 * @param {!WebInspector.TimelinePresentationModel.Record} record | 1048 * @param {!WebInspector.TimelinePresentationModel.Record} record |
| 1049 * @return {boolean} | 1049 * @return {boolean} |
| 1050 */ | 1050 */ |
| 1051 accept: function(record) | 1051 accept: function(record) |
| 1052 { | 1052 { |
| 1053 return record.lastChildEndTime >= this._windowStartTime && record.startT ime <= this._windowEndTime; | 1053 return record.lastChildEndTime >= this._windowStartTime && record.startT ime <= this._windowEndTime; |
| 1054 } | 1054 } |
| 1055 } | 1055 } |
| OLD | NEW |