Index: third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js b/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js |
index a421227f6948604a8c6629d045db4d983e8d2fbe..2bbbe9cb5073d5573f760e607d9ae82c64f8a521 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js |
+++ b/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js |
@@ -28,6 +28,26 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+/** |
+ * @unrestricted |
dgozman
2017/06/02 18:36:52
No need for unrestricted.
|
+ */ |
+Resources.IDBCategoryView = class extends UI.VBox { |
+ /** |
+ * @param {function()} refreshIndexedDB |
+ */ |
+ constructor(refreshIndexedDB) { |
+ super(); |
+ |
+ this._reportView = new UI.ReportView('IndexedDB'); |
dgozman
2017/06/02 18:36:52
You can just use |var reportView| and not save to
|
+ this._reportView.show(this.contentElement); |
+ |
+ var footer = this._reportView.appendSection('').appendRow(); |
+ this._refreshButton = UI.createTextButton( |
+ Common.UIString('Refresh IndexedDB'), () => refreshIndexedDB(), Common.UIString('Refresh IndexedDB')); |
+ footer.appendChild(this._refreshButton); |
+ } |
+}; |
+ |
/** |
* @unrestricted |
*/ |