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

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

Issue 2873153002: DevTools: Draw screenshot independently of frames bar on flamechart. (Closed)
Patch Set: addressing nits Created 3 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChartDataProvider.js ('k') | 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 // 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 /** 5 /**
6 * @implements {Timeline.TimelineModeView} 6 * @implements {Timeline.TimelineModeView}
7 * @implements {PerfUI.FlameChartDelegate} 7 * @implements {PerfUI.FlameChartDelegate}
8 * @implements {UI.Searchable} 8 * @implements {UI.Searchable}
9 * @unrestricted 9 * @unrestricted
10 */ 10 */
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 this.timelineSelection = selection; 495 this.timelineSelection = selection;
496 this.entryIndex = entryIndex; 496 this.entryIndex = entryIndex;
497 } 497 }
498 }; 498 };
499 499
500 Timeline.FlameChartStyle = { 500 Timeline.FlameChartStyle = {
501 textColor: '#333' 501 textColor: '#333'
502 }; 502 };
503 503
504 /** 504 /**
505 * @enum {symbol}
506 */
507 Timeline.TimelineFlameChartEntryType = {
508 Frame: Symbol('Frame'),
509 Event: Symbol('Event'),
510 InteractionRecord: Symbol('InteractionRecord'),
511 ExtensionEvent: Symbol('ExtensionEvent')
512 };
513
514 /**
515 * @implements {PerfUI.FlameChartMarker} 505 * @implements {PerfUI.FlameChartMarker}
516 * @unrestricted 506 * @unrestricted
517 */ 507 */
518 Timeline.TimelineFlameChartMarker = class { 508 Timeline.TimelineFlameChartMarker = class {
519 /** 509 /**
520 * @param {number} startTime 510 * @param {number} startTime
521 * @param {number} startOffset 511 * @param {number} startOffset
522 * @param {!Timeline.TimelineMarkerStyle} style 512 * @param {!Timeline.TimelineMarkerStyle} style
523 */ 513 */
524 constructor(startTime, startOffset, style) { 514 constructor(startTime, startOffset, style) {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 } 577 }
588 context.restore(); 578 context.restore();
589 } 579 }
590 }; 580 };
591 581
592 /** @enum {string} */ 582 /** @enum {string} */
593 Timeline.TimelineFlameChartView._ColorBy = { 583 Timeline.TimelineFlameChartView._ColorBy = {
594 URL: 'URL', 584 URL: 'URL',
595 Product: 'Product' 585 Product: 'Product'
596 }; 586 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChartDataProvider.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698