| 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 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1378 return WebInspector.TimelineUIUtils.createFillStyle(context, width, height,
category.fillColorStop0, category.fillColorStop1, category.borderColor); | 1378 return WebInspector.TimelineUIUtils.createFillStyle(context, width, height,
category.fillColorStop0, category.fillColorStop1, category.borderColor); |
| 1379 } | 1379 } |
| 1380 | 1380 |
| 1381 /** | 1381 /** |
| 1382 * @param {!WebInspector.TimelineCategory} category | 1382 * @param {!WebInspector.TimelineCategory} category |
| 1383 * @return {string} | 1383 * @return {string} |
| 1384 */ | 1384 */ |
| 1385 WebInspector.TimelineUIUtils.createStyleRuleForCategory = function(category) | 1385 WebInspector.TimelineUIUtils.createStyleRuleForCategory = function(category) |
| 1386 { | 1386 { |
| 1387 var selector = ".timeline-category-" + category.name + " .timeline-graph-bar
, " + | 1387 var selector = ".timeline-category-" + category.name + " .timeline-graph-bar
, " + |
| 1388 ".panel.timeline .timeline-filters-header .filter-checkbox-filter.filter
-checkbox-filter-" + category.name + " .checkbox-filter-checkbox, " + | |
| 1389 ".timeline-details-view .timeline-" + category.name + ", " + | 1388 ".timeline-details-view .timeline-" + category.name + ", " + |
| 1390 ".timeline-category-" + category.name + " .timeline-tree-icon"; | 1389 ".timeline-category-" + category.name + " .timeline-tree-icon"; |
| 1391 | 1390 |
| 1392 return selector + " { background-image: linear-gradient(" + | 1391 return selector + " { background-image: linear-gradient(" + |
| 1393 category.fillColorStop0 + ", " + category.fillColorStop1 + " 25%, " + cat
egory.fillColorStop1 + " 25%, " + category.fillColorStop1 + ");" + | 1392 category.fillColorStop0 + ", " + category.fillColorStop1 + " 25%, " + cat
egory.fillColorStop1 + " 25%, " + category.fillColorStop1 + ");" + |
| 1394 " border-color: " + category.borderColor + | 1393 " border-color: " + category.borderColor + |
| 1395 "}"; | 1394 "}"; |
| 1396 } | 1395 } |
| 1397 | 1396 |
| 1398 /** | 1397 /** |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1891 return; | 1890 return; |
| 1892 | 1891 |
| 1893 var stackTraceElement = parentElement.createChild("div", "timeline-detai
ls-view-row-value timeline-details-view-row-stack-trace monospace"); | 1892 var stackTraceElement = parentElement.createChild("div", "timeline-detai
ls-view-row-value timeline-details-view-row-stack-trace monospace"); |
| 1894 | 1893 |
| 1895 var callFrameElem = WebInspector.DOMPresentationUtils.buildStackTracePre
viewContents(this._target, this._linkifier, stackTrace); | 1894 var callFrameElem = WebInspector.DOMPresentationUtils.buildStackTracePre
viewContents(this._target, this._linkifier, stackTrace); |
| 1896 | 1895 |
| 1897 stackTraceElement.appendChild(callFrameElem); | 1896 stackTraceElement.appendChild(callFrameElem); |
| 1898 } | 1897 } |
| 1899 | 1898 |
| 1900 } | 1899 } |
| OLD | NEW |