| 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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 this._repopulateRecords(); | 625 this._repopulateRecords(); |
| 626 }, | 626 }, |
| 627 | 627 |
| 628 _repopulateRecords: function() | 628 _repopulateRecords: function() |
| 629 { | 629 { |
| 630 this._resetPanel(); | 630 this._resetPanel(); |
| 631 this._automaticallySizeWindow = false; | 631 this._automaticallySizeWindow = false; |
| 632 var records = this._model.records; | 632 var records = this._model.records; |
| 633 for (var i = 0; i < records.length; ++i) | 633 for (var i = 0; i < records.length; ++i) |
| 634 this._innerAddRecordToTimeline(records[i]); | 634 this._innerAddRecordToTimeline(records[i]); |
| 635 this._invalidateAndScheduleRefresh(false, true); | 635 this._invalidateAndScheduleRefresh(false, false); |
| 636 }, | 636 }, |
| 637 | 637 |
| 638 _onTimelineEventRecorded: function(event) | 638 _onTimelineEventRecorded: function(event) |
| 639 { | 639 { |
| 640 if (this._innerAddRecordToTimeline(event.data)) | 640 if (this._innerAddRecordToTimeline(event.data)) |
| 641 this._invalidateAndScheduleRefresh(false, false); | 641 this._invalidateAndScheduleRefresh(false, false); |
| 642 }, | 642 }, |
| 643 | 643 |
| 644 _innerAddRecordToTimeline: function(record) | 644 _innerAddRecordToTimeline: function(record) |
| 645 { | 645 { |
| (...skipping 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1610 | 1610 |
| 1611 /** | 1611 /** |
| 1612 * @param {!WebInspector.TimelinePresentationModel.Record} record | 1612 * @param {!WebInspector.TimelinePresentationModel.Record} record |
| 1613 * @return {boolean} | 1613 * @return {boolean} |
| 1614 */ | 1614 */ |
| 1615 accept: function(record) | 1615 accept: function(record) |
| 1616 { | 1616 { |
| 1617 return WebInspector.TimelineRecordListRow.testContentMatching(record, th
is._regExp); | 1617 return WebInspector.TimelineRecordListRow.testContentMatching(record, th
is._regExp); |
| 1618 } | 1618 } |
| 1619 } | 1619 } |
| OLD | NEW |