Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> | 4 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> |
| 5 * Copyright (C) 2009 Joseph Pecoraro | 5 * Copyright (C) 2009 Joseph Pecoraro |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * | 10 * |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 66 var className = classes[i]; | 66 var className = classes[i]; |
| 67 if (className && !(className in foundClasses)) { | 67 if (className && !(className in foundClasses)) { |
| 68 var part = "." + className; | 68 var part = "." + className; |
| 69 title += part; | 69 title += part; |
| 70 classesElement.createTextChild(part); | 70 classesElement.createTextChild(part); |
| 71 foundClasses[className] = true; | 71 foundClasses[className] = true; |
| 72 } | 72 } |
| 73 } | 73 } |
| 74 } | 74 } |
| 75 } | 75 } |
| 76 parentElement.title = title; | |
|
paulirish
2015/07/30 07:20:49
can you tell me where this is currently used?
samli
2015/07/30 08:02:33
Any node description. This is the actual one you s
samli
2015/08/06 03:51:16
Reverted.
| |
| 77 } | 76 } |
| 78 | 77 |
| 79 /** | 78 /** |
| 80 * @param {!Element} container | 79 * @param {!Element} container |
| 81 * @param {string} nodeTitle | 80 * @param {string} nodeTitle |
| 82 */ | 81 */ |
| 83 WebInspector.DOMPresentationUtils.createSpansForNodeTitle = function(container, nodeTitle) | 82 WebInspector.DOMPresentationUtils.createSpansForNodeTitle = function(container, nodeTitle) |
| 84 { | 83 { |
| 85 var match = nodeTitle.match(/([^#.]+)(#[^.]+)?(\..*)?/); | 84 var match = nodeTitle.match(/([^#.]+)(#[^.]+)?(\..*)?/); |
| 86 container.createChild("span", "webkit-html-tag-name").textContent = match[1] ; | 85 container.createChild("span", "webkit-html-tag-name").textContent = match[1] ; |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 602 WebInspector.DOMNodePathStep.prototype = { | 601 WebInspector.DOMNodePathStep.prototype = { |
| 603 /** | 602 /** |
| 604 * @override | 603 * @override |
| 605 * @return {string} | 604 * @return {string} |
| 606 */ | 605 */ |
| 607 toString: function() | 606 toString: function() |
| 608 { | 607 { |
| 609 return this.value; | 608 return this.value; |
| 610 } | 609 } |
| 611 } | 610 } |
| OLD | NEW |