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