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 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 }, | 755 }, |
756 | 756 |
757 showView: function(view) | 757 showView: function(view) |
758 { | 758 { |
759 if (view) | 759 if (view) |
760 this.showResource(view.resource); | 760 this.showResource(view.resource); |
761 }, | 761 }, |
762 | 762 |
763 _onmousemove: function(event) | 763 _onmousemove: function(event) |
764 { | 764 { |
765 var nodeUnderMouse = document.elementFromPoint(event.pageX, event.pageY)
; | 765 var nodeUnderMouse = event.elementFromPoint(); |
766 if (!nodeUnderMouse) | 766 if (!nodeUnderMouse) |
767 return; | 767 return; |
768 | 768 |
769 var listNode = nodeUnderMouse.enclosingNodeOrSelfWithNodeName("li"); | 769 var listNode = nodeUnderMouse.enclosingNodeOrSelfWithNodeName("li"); |
770 if (!listNode) | 770 if (!listNode) |
771 return; | 771 return; |
772 | 772 |
773 var element = listNode.treeElement; | 773 var element = listNode.treeElement; |
774 if (this._previousHoveredElement === element) | 774 if (this._previousHoveredElement === element) |
775 return; | 775 return; |
(...skipping 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2135 } | 2135 } |
2136 | 2136 |
2137 WebInspector.StorageCategoryView.prototype = { | 2137 WebInspector.StorageCategoryView.prototype = { |
2138 setText: function(text) | 2138 setText: function(text) |
2139 { | 2139 { |
2140 this._emptyView.text = text; | 2140 this._emptyView.text = text; |
2141 }, | 2141 }, |
2142 | 2142 |
2143 __proto__: WebInspector.VBox.prototype | 2143 __proto__: WebInspector.VBox.prototype |
2144 } | 2144 } |
OLD | NEW |