Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1360)

Side by Side Diff: Source/devtools/front_end/resources/DOMStorageItemsView.js

Issue 1113813002: [DevTools] Rename View to Widget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/resources/CookieItemsView.js ('k') | Source/devtools/front_end/resources/DatabaseQueryView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698