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

Side by Side Diff: Source/devtools/front_end/TimelinePanel.js

Issue 15755008: Timeline: fix switching from Events to Frame mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 | no next file » | 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) 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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698