OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 1630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1641 * @param {!WebInspector.TimelineCategory} category | 1641 * @param {!WebInspector.TimelineCategory} category |
1642 */ | 1642 */ |
1643 WebInspector.TimelinePresentationModel.createStyleRuleForCategory = function(cat
egory) | 1643 WebInspector.TimelinePresentationModel.createStyleRuleForCategory = function(cat
egory) |
1644 { | 1644 { |
1645 var selector = ".timeline-category-" + category.name + " .timeline-graph-bar
, " + | 1645 var selector = ".timeline-category-" + category.name + " .timeline-graph-bar
, " + |
1646 ".panel.timeline .timeline-filters-header .filter-checkbox-filter.filter
-checkbox-filter-" + category.name + " .checkbox-filter-checkbox, " + | 1646 ".panel.timeline .timeline-filters-header .filter-checkbox-filter.filter
-checkbox-filter-" + category.name + " .checkbox-filter-checkbox, " + |
1647 ".popover .timeline-" + category.name + ", " + | 1647 ".popover .timeline-" + category.name + ", " + |
1648 ".timeline-details-view .timeline-" + category.name + ", " + | 1648 ".timeline-details-view .timeline-" + category.name + ", " + |
1649 ".timeline-category-" + category.name + " .timeline-tree-icon" | 1649 ".timeline-category-" + category.name + " .timeline-tree-icon" |
1650 | 1650 |
1651 return selector + " { background-image: -webkit-linear-gradient(" + | 1651 return selector + " { background-image: linear-gradient(" + |
1652 category.fillColorStop0 + ", " + category.fillColorStop1 + " 25%, " + cat
egory.fillColorStop1 + " 25%, " + category.fillColorStop1 + ");" + | 1652 category.fillColorStop0 + ", " + category.fillColorStop1 + " 25%, " + cat
egory.fillColorStop1 + " 25%, " + category.fillColorStop1 + ");" + |
1653 " border-color: " + category.borderColor + | 1653 " border-color: " + category.borderColor + |
1654 "}"; | 1654 "}"; |
1655 } | 1655 } |
1656 | 1656 |
1657 | 1657 |
1658 /** | 1658 /** |
1659 * @param {!Object} rawRecord | 1659 * @param {!Object} rawRecord |
1660 * @return {?string} | 1660 * @return {?string} |
1661 */ | 1661 */ |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1884 for (var i = 0; i < stackTrace.length; ++i) { | 1884 for (var i = 0; i < stackTrace.length; ++i) { |
1885 var stackFrame = stackTrace[i]; | 1885 var stackFrame = stackTrace[i]; |
1886 var row = stackTraceElement.createChild("div"); | 1886 var row = stackTraceElement.createChild("div"); |
1887 row.createTextChild(stackFrame.functionName || WebInspector.UIString
("(anonymous function)")); | 1887 row.createTextChild(stackFrame.functionName || WebInspector.UIString
("(anonymous function)")); |
1888 row.createTextChild(" @ "); | 1888 row.createTextChild(" @ "); |
1889 var urlElement = callFrameLinkifier(stackFrame); | 1889 var urlElement = callFrameLinkifier(stackFrame); |
1890 row.appendChild(urlElement); | 1890 row.appendChild(urlElement); |
1891 } | 1891 } |
1892 } | 1892 } |
1893 } | 1893 } |
OLD | NEW |