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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChartView.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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 Timeline.FlameChartStyle = { 5 Timeline.FlameChartStyle = {
6 textColor: '#333' 6 textColor: '#333'
7 }; 7 };
8 8
9 /** 9 /**
10 * @enum {symbol} 10 * @enum {symbol}
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 * @param {!Common.Event} event 298 * @param {!Common.Event} event
299 */ 299 */
300 _onEntrySelected(dataProvider, event) { 300 _onEntrySelected(dataProvider, event) {
301 var entryIndex = /** @type{number} */ (event.data); 301 var entryIndex = /** @type{number} */ (event.data);
302 this._delegate.select(dataProvider.createSelection(entryIndex)); 302 this._delegate.select(dataProvider.createSelection(entryIndex));
303 } 303 }
304 304
305 resizeToPreferredHeights() { 305 resizeToPreferredHeights() {
306 this._splitWidget.setSidebarSize( 306 this._splitWidget.setSidebarSize(
307 this._networkDataProvider.preferredHeight() + this._splitResizer.clientH eight + PerfUI.FlameChart.HeaderHeight + 307 this._networkDataProvider.preferredHeight() + this._splitResizer.clientH eight + PerfUI.FlameChart.HeaderHeight +
308 3); 308 2);
309 } 309 }
310 }; 310 };
311 311
312 /** 312 /**
313 * @unrestricted 313 * @unrestricted
314 */ 314 */
315 Timeline.TimelineFlameChartView.Selection = class { 315 Timeline.TimelineFlameChartView.Selection = class {
316 /** 316 /**
317 * @param {!Timeline.TimelineSelection} selection 317 * @param {!Timeline.TimelineSelection} selection
318 * @param {number} entryIndex 318 * @param {number} entryIndex
319 */ 319 */
320 constructor(selection, entryIndex) { 320 constructor(selection, entryIndex) {
321 this.timelineSelection = selection; 321 this.timelineSelection = selection;
322 this.entryIndex = entryIndex; 322 this.entryIndex = entryIndex;
323 } 323 }
324 }; 324 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698