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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js

Issue 2654483004: [DevTools] Provide a way to delete Indexed DBs (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
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 1652 matching lines...) Expand 10 before | Expand all | Expand 10 after
1663 this.tooltip = Common.UIString('Version') + ': ' + this._database.version; 1663 this.tooltip = Common.UIString('Version') + ': ' + this._database.version;
1664 } 1664 }
1665 1665
1666 /** 1666 /**
1667 * @override 1667 * @override
1668 * @return {boolean} 1668 * @return {boolean}
1669 */ 1669 */
1670 onselect(selectedByUser) { 1670 onselect(selectedByUser) {
1671 super.onselect(selectedByUser); 1671 super.onselect(selectedByUser);
1672 if (!this._view) 1672 if (!this._view)
1673 this._view = new Resources.IDBDatabaseView(this._database); 1673 this._view = new Resources.IDBDatabaseView(this._model, this._database);
1674 1674
1675 this._storagePanel._innerShowView(this._view); 1675 this._storagePanel._innerShowView(this._view);
1676 return false; 1676 return false;
1677 } 1677 }
1678 1678
1679 /** 1679 /**
1680 * @param {string} objectStoreName 1680 * @param {string} objectStoreName
1681 */ 1681 */
1682 _objectStoreRemoved(objectStoreName) { 1682 _objectStoreRemoved(objectStoreName) {
1683 var objectStoreTreeElement = this._idbObjectStoreTreeElements[objectStoreNam e]; 1683 var objectStoreTreeElement = this._idbObjectStoreTreeElements[objectStoreNam e];
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
2061 2061
2062 this.element.classList.add('storage-view'); 2062 this.element.classList.add('storage-view');
2063 this._emptyWidget = new UI.EmptyWidget(''); 2063 this._emptyWidget = new UI.EmptyWidget('');
2064 this._emptyWidget.show(this.element); 2064 this._emptyWidget.show(this.element);
2065 } 2065 }
2066 2066
2067 setText(text) { 2067 setText(text) {
2068 this._emptyWidget.text = text; 2068 this._emptyWidget.text = text;
2069 } 2069 }
2070 }; 2070 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698