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

Side by Side Diff: Source/devtools/front_end/TimelinePresentationModel.js

Issue 33143002: DevTools: Unify filtering UI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/TimelinePanel.js ('k') | Source/devtools/front_end/filter.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1460 matching lines...) Expand 10 before | Expand all | Expand 10 after
1471 { 1471 {
1472 return WebInspector.TimelinePresentationModel.createFillStyle(context, width , height, category.fillColorStop0, category.fillColorStop1, category.borderColor ); 1472 return WebInspector.TimelinePresentationModel.createFillStyle(context, width , height, category.fillColorStop0, category.fillColorStop1, category.borderColor );
1473 } 1473 }
1474 1474
1475 /** 1475 /**
1476 * @param {WebInspector.TimelineCategory} category 1476 * @param {WebInspector.TimelineCategory} category
1477 */ 1477 */
1478 WebInspector.TimelinePresentationModel.createStyleRuleForCategory = function(cat egory) 1478 WebInspector.TimelinePresentationModel.createStyleRuleForCategory = function(cat egory)
1479 { 1479 {
1480 var selector = ".timeline-category-" + category.name + " .timeline-graph-bar , " + 1480 var selector = ".timeline-category-" + category.name + " .timeline-graph-bar , " +
1481 ".timeline-category-statusbar-item.timeline-category-" + category.name + " .timeline-category-checkbox, " + 1481 ".panel.timeline .timeline-filters-header .filter-checkbox-filter.filter -checkbox-filter-" + category.name + " .checkbox-filter-checkbox, " +
1482 ".popover .timeline-" + category.name + ", " + 1482 ".popover .timeline-" + category.name + ", " +
1483 ".timeline-category-" + category.name + " .timeline-tree-icon" 1483 ".timeline-category-" + category.name + " .timeline-tree-icon"
1484 1484
1485 return selector + " { background-image: -webkit-linear-gradient(" + 1485 return selector + " { background-image: -webkit-linear-gradient(" +
1486 category.fillColorStop0 + ", " + category.fillColorStop1 + " 25%, " + cat egory.fillColorStop1 + " 25%, " + category.fillColorStop1 + ");" + 1486 category.fillColorStop0 + ", " + category.fillColorStop1 + " 25%, " + cat egory.fillColorStop1 + " 25%, " + category.fillColorStop1 + ");" +
1487 " border-color: " + category.borderColor + 1487 " border-color: " + category.borderColor +
1488 "}"; 1488 "}";
1489 } 1489 }
1490 1490
1491 1491
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 }, 1587 },
1588 1588
1589 set hidden(hidden) 1589 set hidden(hidden)
1590 { 1590 {
1591 this._hidden = hidden; 1591 this._hidden = hidden;
1592 this.dispatchEventToListeners(WebInspector.TimelineCategory.Events.Visib ilityChanged, this); 1592 this.dispatchEventToListeners(WebInspector.TimelineCategory.Events.Visib ilityChanged, this);
1593 }, 1593 },
1594 1594
1595 __proto__: WebInspector.Object.prototype 1595 __proto__: WebInspector.Object.prototype
1596 } 1596 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/TimelinePanel.js ('k') | Source/devtools/front_end/filter.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698