| 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 } | 347 } |
| 348 | 348 |
| 349 /** | 349 /** |
| 350 * @param {!WebInspector.TimelineCategory} category | 350 * @param {!WebInspector.TimelineCategory} category |
| 351 * @return {string} | 351 * @return {string} |
| 352 */ | 352 */ |
| 353 WebInspector.TimelineUIUtils.createStyleRuleForCategory = function(category) | 353 WebInspector.TimelineUIUtils.createStyleRuleForCategory = function(category) |
| 354 { | 354 { |
| 355 var selector = ".timeline-category-" + category.name + " .timeline-graph-bar
, " + | 355 var selector = ".timeline-category-" + category.name + " .timeline-graph-bar
, " + |
| 356 ".panel.timeline .timeline-filters-header .filter-checkbox-filter.filter
-checkbox-filter-" + category.name + " .checkbox-filter-checkbox, " + | 356 ".panel.timeline .timeline-filters-header .filter-checkbox-filter.filter
-checkbox-filter-" + category.name + " .checkbox-filter-checkbox, " + |
| 357 ".popover .timeline-" + category.name + ", " + | |
| 358 ".timeline-details-view .timeline-" + category.name + ", " + | 357 ".timeline-details-view .timeline-" + category.name + ", " + |
| 359 ".timeline-category-" + category.name + " .timeline-tree-icon" | 358 ".timeline-category-" + category.name + " .timeline-tree-icon" |
| 360 | 359 |
| 361 return selector + " { background-image: linear-gradient(" + | 360 return selector + " { background-image: linear-gradient(" + |
| 362 category.fillColorStop0 + ", " + category.fillColorStop1 + " 25%, " + cat
egory.fillColorStop1 + " 25%, " + category.fillColorStop1 + ");" + | 361 category.fillColorStop0 + ", " + category.fillColorStop1 + " 25%, " + cat
egory.fillColorStop1 + " 25%, " + category.fillColorStop1 + ");" + |
| 363 " border-color: " + category.borderColor + | 362 " border-color: " + category.borderColor + |
| 364 "}"; | 363 "}"; |
| 365 } | 364 } |
| 366 | 365 |
| 367 /** | 366 /** |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 568 for (var i = 0; i < stackTrace.length; ++i) { | 567 for (var i = 0; i < stackTrace.length; ++i) { |
| 569 var stackFrame = stackTrace[i]; | 568 var stackFrame = stackTrace[i]; |
| 570 var row = stackTraceElement.createChild("div"); | 569 var row = stackTraceElement.createChild("div"); |
| 571 row.createTextChild(stackFrame.functionName || WebInspector.UIString
("(anonymous function)")); | 570 row.createTextChild(stackFrame.functionName || WebInspector.UIString
("(anonymous function)")); |
| 572 row.createTextChild(" @ "); | 571 row.createTextChild(" @ "); |
| 573 var urlElement = this._linkifier.linkifyScriptLocation(this._target,
stackFrame.scriptId, stackFrame.url, stackFrame.lineNumber - 1, stackFrame.colu
mnNumber - 1); | 572 var urlElement = this._linkifier.linkifyScriptLocation(this._target,
stackFrame.scriptId, stackFrame.url, stackFrame.lineNumber - 1, stackFrame.colu
mnNumber - 1); |
| 574 row.appendChild(urlElement); | 573 row.appendChild(urlElement); |
| 575 } | 574 } |
| 576 } | 575 } |
| 577 } | 576 } |
| OLD | NEW |