| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Nokia Inc. All rights reserved. | 2 * Copyright (C) 2008 Nokia Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Samsung Electronics. All rights reserved. | 3 * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 childNode.select(); | 158 childNode.select(); |
| 159 childNode.reveal(); | 159 childNode.reveal(); |
| 160 } | 160 } |
| 161 this.deleteButton.setVisible(true); | 161 this.deleteButton.setVisible(true); |
| 162 } | 162 } |
| 163 } | 163 } |
| 164 }, | 164 }, |
| 165 | 165 |
| 166 _update: function() | 166 _update: function() |
| 167 { | 167 { |
| 168 this.detachChildViews(); | 168 this.detachChildWidgets(); |
| 169 this.domStorage.getItems(this._showDOMStorageItems.bind(this)); | 169 this.domStorage.getItems(this._showDOMStorageItems.bind(this)); |
| 170 }, | 170 }, |
| 171 | 171 |
| 172 _showDOMStorageItems: function(error, items) | 172 _showDOMStorageItems: function(error, items) |
| 173 { | 173 { |
| 174 if (error) | 174 if (error) |
| 175 return; | 175 return; |
| 176 | 176 |
| 177 this._dataGrid = this._dataGridForDOMStorageItems(items); | 177 this._dataGrid = this._dataGridForDOMStorageItems(items); |
| 178 this._dataGrid.show(this.element); | 178 this._dataGrid.show(this.element); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 { | 254 { |
| 255 if (!node || node.isCreationNode) | 255 if (!node || node.isCreationNode) |
| 256 return; | 256 return; |
| 257 | 257 |
| 258 if (this.domStorage) | 258 if (this.domStorage) |
| 259 this.domStorage.removeItem(node.data.key); | 259 this.domStorage.removeItem(node.data.key); |
| 260 }, | 260 }, |
| 261 | 261 |
| 262 __proto__: WebInspector.VBox.prototype | 262 __proto__: WebInspector.VBox.prototype |
| 263 } | 263 } |
| OLD | NEW |