Changeset 147425 in webkit


Ignore:
Timestamp:
Apr 2, 2013 6:46:45 AM (11 years ago)
Author:
caseq@chromium.org
Message:

Web Inspector: ignore minimum record duration filter in Timeline overview
https://bugs.webkit.org/show_bug.cgi?id=113705

Reviewed by Pavel Feldman.

  • inspector/front-end/TimelineOverviewPane.js:
  • inspector/front-end/TimelinePanel.js:

(WebInspector.TimelinePanel.prototype._durationFilterChanged):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r147422 r147425  
     12013-04-02  Andrey Kosyakov  <caseq@chromium.org>
     2
     3        Web Inspector: ignore minimum record duration filter in Timeline overview
     4        https://bugs.webkit.org/show_bug.cgi?id=113705
     5
     6        Reviewed by Pavel Feldman.
     7
     8        * inspector/front-end/TimelineOverviewPane.js:
     9        * inspector/front-end/TimelinePanel.js:
     10        (WebInspector.TimelinePanel.prototype._durationFilterChanged):
     11
    1122013-03-29  Andrey Kosyakov  <caseq@chromium.org>
    213
  • trunk/Source/WebCore/inspector/front-end/TimelineOverviewPane.js

    r147220 r147425  
    316316    },
    317317
    318     /**
    319      * @param {number} value
    320      */
    321     setMinimumRecordDuration: function(value)
    322     {
    323         this._eventOverview.setMinimumRecordDuration(value);
    324     },
    325 
    326318    _scheduleRefresh: function()
    327319    {
     
    536528
    537529    this._context = this._canvas.getContext("2d");
    538     this._minimumRecordDuration = 0;
    539530
    540531    this._fillStyles = {};
     
    579570        function appendRecord(record)
    580571        {
    581             if (!!this._minimumRecordDuration && (WebInspector.TimelineModel.durationInSeconds(record) < this._minimumRecordDuration))
    582                 return;
    583572            if (record.type === WebInspector.TimelineModel.RecordType.BeginFrame)
    584573                return;
     
    607596    },
    608597
    609     /**
    610      * @param {number} value
    611      */
    612     setMinimumRecordDuration: function(value)
    613     {
    614         this._minimumRecordDuration = value;
    615         this.update();
    616     },
    617 
    618598    _renderBar: function(begin, end, category)
    619599    {
  • trunk/Source/WebCore/inspector/front-end/TimelinePanel.js

    r147204 r147425  
    603603        var minimumRecordDuration = +option._durationMs / 1000.0;
    604604        this._durationFilter.setMinimumRecordDuration(minimumRecordDuration);
    605         this._overviewPane.setMinimumRecordDuration(minimumRecordDuration);
    606605        this._durationFilterSelector.element.title = option.title;
    607606        this._invalidateAndScheduleRefresh(true, true);
Note: See TracChangeset for help on using the changeset viewer.