| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Joseph Pecoraro | 3 * Copyright (C) 2009 Joseph Pecoraro |
| 4 * Copyright (C) 2013 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 }, | 763 }, |
| 764 | 764 |
| 765 showView: function(view) | 765 showView: function(view) |
| 766 { | 766 { |
| 767 if (view) | 767 if (view) |
| 768 this.showResource(view.resource); | 768 this.showResource(view.resource); |
| 769 }, | 769 }, |
| 770 | 770 |
| 771 _onmousemove: function(event) | 771 _onmousemove: function(event) |
| 772 { | 772 { |
| 773 var nodeUnderMouse = event.elementFromPoint(); | 773 var nodeUnderMouse = event.deepElementFromPoint(); |
| 774 if (!nodeUnderMouse) | 774 if (!nodeUnderMouse) |
| 775 return; | 775 return; |
| 776 | 776 |
| 777 var listNode = nodeUnderMouse.enclosingNodeOrSelfWithNodeName("li"); | 777 var listNode = nodeUnderMouse.enclosingNodeOrSelfWithNodeName("li"); |
| 778 if (!listNode) | 778 if (!listNode) |
| 779 return; | 779 return; |
| 780 | 780 |
| 781 var element = listNode.treeElement; | 781 var element = listNode.treeElement; |
| 782 if (this._previousHoveredElement === element) | 782 if (this._previousHoveredElement === element) |
| 783 return; | 783 return; |
| (...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2180 | 2180 |
| 2181 WebInspector.ResourcesPanelFactory.prototype = { | 2181 WebInspector.ResourcesPanelFactory.prototype = { |
| 2182 /** | 2182 /** |
| 2183 * @return {!WebInspector.Panel} | 2183 * @return {!WebInspector.Panel} |
| 2184 */ | 2184 */ |
| 2185 createPanel: function() | 2185 createPanel: function() |
| 2186 { | 2186 { |
| 2187 return WebInspector.ResourcesPanel._instance(); | 2187 return WebInspector.ResourcesPanel._instance(); |
| 2188 } | 2188 } |
| 2189 } | 2189 } |
| OLD | NEW |