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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkWaterfallColumn.js

Issue 2501253002: [Devtools] Normalized colors Timeline <-> Waterfall (Closed)
Patch Set: Created 4 years, 1 month 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 | « 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 // 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 * @unrestricted 5 * @unrestricted
6 */ 6 */
7 Network.NetworkWaterfallColumn = class extends UI.VBox { 7 Network.NetworkWaterfallColumn = class extends UI.VBox {
8 /** 8 /**
9 * @param {number} rowHeight 9 * @param {number} rowHeight
10 * @param {!Network.NetworkTimeCalculator} calculator 10 * @param {!Network.NetworkTimeCalculator} calculator
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 }; 611 };
612 612
613 /** 613 /**
614 * @typedef {{requests: !Array<!SDK.NetworkRequest>, navigationRequest: ?SDK.Net workRequest}} 614 * @typedef {{requests: !Array<!SDK.NetworkRequest>, navigationRequest: ?SDK.Net workRequest}}
615 */ 615 */
616 Network.NetworkWaterfallColumn.RequestData; 616 Network.NetworkWaterfallColumn.RequestData;
617 617
618 Network.NetworkWaterfallColumn._colorsForResourceType = { 618 Network.NetworkWaterfallColumn._colorsForResourceType = {
619 document: 'hsl(215, 100%, 80%)', 619 document: 'hsl(215, 100%, 80%)',
620 font: 'hsl(8, 100%, 80%)', 620 font: 'hsl(8, 100%, 80%)',
621 media: 'hsl(272, 64%, 80%)', 621 media: 'hsl(90, 50%, 80%)',
622 image: 'hsl(272, 64%, 80%)', 622 image: 'hsl(90, 50%, 80%)',
623 script: 'hsl(31, 100%, 80%)', 623 script: 'hsl(31, 100%, 80%)',
624 stylesheet: 'hsl(90, 50%, 80%)', 624 stylesheet: 'hsl(272, 64%, 80%)',
625 texttrack: 'hsl(8, 100%, 80%)', 625 texttrack: 'hsl(8, 100%, 80%)',
626 websocket: 'hsl(0, 0%, 95%)', 626 websocket: 'hsl(0, 0%, 95%)',
627 xhr: 'hsl(53, 100%, 80%)', 627 xhr: 'hsl(53, 100%, 80%)',
628 other: 'hsl(0, 0%, 95%)' 628 other: 'hsl(0, 0%, 95%)'
629 }; 629 };
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