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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js

Issue 2646193003: Revert of Fix UI glitches on Performance and Memory panels (Closed)
Patch Set: Created 3 years, 11 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
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 PerfUI.TimelineOverviewPane.Events.WindowChanged, this._onWindowChanged. bind(this)); 98 PerfUI.TimelineOverviewPane.Events.WindowChanged, this._onWindowChanged. bind(this));
99 this._overviewPane.show(topPaneElement); 99 this._overviewPane.show(topPaneElement);
100 this._statusPaneContainer = this._timelinePane.element.createChild('div', 's tatus-pane-container fill'); 100 this._statusPaneContainer = this._timelinePane.element.createChild('div', 's tatus-pane-container fill');
101 101
102 this._createFileSelector(); 102 this._createFileSelector();
103 103
104 SDK.targetManager.addEventListener(SDK.TargetManager.Events.PageReloadReques ted, this._pageReloadRequested, this); 104 SDK.targetManager.addEventListener(SDK.TargetManager.Events.PageReloadReques ted, this._pageReloadRequested, this);
105 SDK.targetManager.addEventListener(SDK.TargetManager.Events.Load, this._load EventFired, this); 105 SDK.targetManager.addEventListener(SDK.TargetManager.Events.Load, this._load EventFired, this);
106 106
107 // Create top level properties splitter. 107 // Create top level properties splitter.
108 this._detailsSplitWidget = new UI.SplitWidget(false, true, 'timelinePanelDet ailsSplitViewState', 400); 108 this._detailsSplitWidget = new UI.SplitWidget(false, true, 'timelinePanelDet ailsSplitViewState');
109 this._detailsSplitWidget.element.classList.add('timeline-details-split'); 109 this._detailsSplitWidget.element.classList.add('timeline-details-split');
110 this._detailsView = 110 this._detailsView =
111 new Timeline.TimelineDetailsView(this._model, this._frameModel, this._fi lmStripModel, this._filters, this); 111 new Timeline.TimelineDetailsView(this._model, this._frameModel, this._fi lmStripModel, this._filters, this);
112 this._detailsSplitWidget.installResizer(this._detailsView.headerElement()); 112 this._detailsSplitWidget.installResizer(this._detailsView.headerElement());
113 this._detailsSplitWidget.setSidebarWidget(this._detailsView); 113 this._detailsSplitWidget.setSidebarWidget(this._detailsView);
114 114
115 this._searchableView = new UI.SearchableView(this); 115 this._searchableView = new UI.SearchableView(this);
116 this._searchableView.setMinimumSize(0, 100); 116 this._searchableView.setMinimumSize(0, 100);
117 this._searchableView.element.classList.add('searchable-view'); 117 this._searchableView.element.classList.add('searchable-view');
118 this._detailsSplitWidget.setMainWidget(this._searchableView); 118 this._detailsSplitWidget.setMainWidget(this._searchableView);
(...skipping 1576 matching lines...) Expand 10 before | Expand all | Expand 10 after
1695 }; 1695 };
1696 1696
1697 Timeline.TimelinePanel._traceProviderSettingSymbol = Symbol('traceProviderSettin g'); 1697 Timeline.TimelinePanel._traceProviderSettingSymbol = Symbol('traceProviderSettin g');
1698 1698
1699 /** @enum {symbol} */ 1699 /** @enum {symbol} */
1700 Timeline.TimelineFilters.Events = { 1700 Timeline.TimelineFilters.Events = {
1701 FilterChanged: Symbol('FilterChanged') 1701 FilterChanged: Symbol('FilterChanged')
1702 }; 1702 };
1703 1703
1704 Timeline.TimelineFilters._durationFilterPresetsMs = [0, 1, 15]; 1704 Timeline.TimelineFilters._durationFilterPresetsMs = [0, 1, 15];
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698