| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 /** @type {!Map.<!WebInspector.DOMStorage, !WebInspector.DOMStorageItemsView
>} */ | 84 /** @type {!Map.<!WebInspector.DOMStorage, !WebInspector.DOMStorageItemsView
>} */ |
| 85 this._domStorageViews = new Map(); | 85 this._domStorageViews = new Map(); |
| 86 /** @type {!Map.<!WebInspector.DOMStorage, !WebInspector.DOMStorageTreeEleme
nt>} */ | 86 /** @type {!Map.<!WebInspector.DOMStorage, !WebInspector.DOMStorageTreeEleme
nt>} */ |
| 87 this._domStorageTreeElements = new Map(); | 87 this._domStorageTreeElements = new Map(); |
| 88 /** @type {!Object.<string, !WebInspector.CookieItemsView>} */ | 88 /** @type {!Object.<string, !WebInspector.CookieItemsView>} */ |
| 89 this._cookieViews = {}; | 89 this._cookieViews = {}; |
| 90 /** @type {!Object.<string, boolean>} */ | 90 /** @type {!Object.<string, boolean>} */ |
| 91 this._domains = {}; | 91 this._domains = {}; |
| 92 | 92 |
| 93 this.sidebarElement().addEventListener("mousemove", this._onmousemove.bind(t
his), false); | 93 this.sidebarElement().addEventListener("mousemove", this._onmousemove.bind(t
his), false); |
| 94 this.sidebarElement().addEventListener("mouseout", this._onmouseout.bind(thi
s), false); | 94 this.sidebarElement().addEventListener("mouseleave", this._onmouseleave.bind
(this), false); |
| 95 | 95 |
| 96 /** | 96 /** |
| 97 * @this {WebInspector.ResourcesPanel} | 97 * @this {WebInspector.ResourcesPanel} |
| 98 * @return {?WebInspector.SourceFrame} | 98 * @return {?WebInspector.SourceFrame} |
| 99 */ | 99 */ |
| 100 function sourceFrameGetter() | 100 function sourceFrameGetter() |
| 101 { | 101 { |
| 102 var view = this.visibleView; | 102 var view = this.visibleView; |
| 103 if (view && view instanceof WebInspector.SourceFrame) | 103 if (view && view instanceof WebInspector.SourceFrame) |
| 104 return /** @type {!WebInspector.SourceFrame} */ (view); | 104 return /** @type {!WebInspector.SourceFrame} */ (view); |
| (...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 786 this._previousHoveredElement.hovered = false; | 786 this._previousHoveredElement.hovered = false; |
| 787 delete this._previousHoveredElement; | 787 delete this._previousHoveredElement; |
| 788 } | 788 } |
| 789 | 789 |
| 790 if (element instanceof WebInspector.FrameTreeElement) { | 790 if (element instanceof WebInspector.FrameTreeElement) { |
| 791 this._previousHoveredElement = element; | 791 this._previousHoveredElement = element; |
| 792 element.hovered = true; | 792 element.hovered = true; |
| 793 } | 793 } |
| 794 }, | 794 }, |
| 795 | 795 |
| 796 _onmouseout: function(event) | 796 _onmouseleave: function(event) |
| 797 { | 797 { |
| 798 if (this._previousHoveredElement) { | 798 if (this._previousHoveredElement) { |
| 799 this._previousHoveredElement.hovered = false; | 799 this._previousHoveredElement.hovered = false; |
| 800 delete this._previousHoveredElement; | 800 delete this._previousHoveredElement; |
| 801 } | 801 } |
| 802 }, | 802 }, |
| 803 | 803 |
| 804 __proto__: WebInspector.PanelWithSidebarTree.prototype | 804 __proto__: WebInspector.PanelWithSidebarTree.prototype |
| 805 } | 805 } |
| 806 | 806 |
| (...skipping 1373 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 |