| 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 2154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2165 WebInspector.StorageCategoryView = function() | 2165 WebInspector.StorageCategoryView = function() |
| 2166 { | 2166 { |
| 2167 WebInspector.VBox.call(this); | 2167 WebInspector.VBox.call(this); |
| 2168 | 2168 |
| 2169 this.element.classList.add("storage-view"); | 2169 this.element.classList.add("storage-view"); |
| 2170 this._emptyWidget = new WebInspector.EmptyWidget(""); | 2170 this._emptyWidget = new WebInspector.EmptyWidget(""); |
| 2171 this._emptyWidget.show(this.element); | 2171 this._emptyWidget.show(this.element); |
| 2172 } | 2172 } |
| 2173 | 2173 |
| 2174 WebInspector.StorageCategoryView.prototype = { | 2174 WebInspector.StorageCategoryView.prototype = { |
| 2175 /** | |
| 2176 * @return {!Array.<!WebInspector.ToolbarItem>} | |
| 2177 */ | |
| 2178 toolbarItems: function() | |
| 2179 { | |
| 2180 return []; | |
| 2181 }, | |
| 2182 | |
| 2183 setText: function(text) | 2175 setText: function(text) |
| 2184 { | 2176 { |
| 2185 this._emptyWidget.text = text; | 2177 this._emptyWidget.text = text; |
| 2186 }, | 2178 }, |
| 2187 | 2179 |
| 2188 __proto__: WebInspector.VBox.prototype | 2180 __proto__: WebInspector.VBox.prototype |
| 2189 } | 2181 } |
| 2190 | 2182 |
| 2191 WebInspector.ResourcesPanel.show = function() | 2183 WebInspector.ResourcesPanel.show = function() |
| 2192 { | 2184 { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 2214 WebInspector.ResourcesPanelFactory.prototype = { | 2206 WebInspector.ResourcesPanelFactory.prototype = { |
| 2215 /** | 2207 /** |
| 2216 * @override | 2208 * @override |
| 2217 * @return {!WebInspector.Panel} | 2209 * @return {!WebInspector.Panel} |
| 2218 */ | 2210 */ |
| 2219 createPanel: function() | 2211 createPanel: function() |
| 2220 { | 2212 { |
| 2221 return WebInspector.ResourcesPanel._instance(); | 2213 return WebInspector.ResourcesPanel._instance(); |
| 2222 } | 2214 } |
| 2223 } | 2215 } |
| OLD | NEW |