| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 128     { | 128     { | 
| 129         return [this.storageViewStatusBarItemsContainer]; | 129         return [this.storageViewStatusBarItemsContainer]; | 
| 130     }, | 130     }, | 
| 131 | 131 | 
| 132     wasShown: function() | 132     wasShown: function() | 
| 133     { | 133     { | 
| 134         WebInspector.Panel.prototype.wasShown.call(this); | 134         WebInspector.Panel.prototype.wasShown.call(this); | 
| 135         this._initialize(); | 135         this._initialize(); | 
| 136     }, | 136     }, | 
| 137 | 137 | 
| 138     /** |  | 
| 139      * @param {KeyboardEvent} event |  | 
| 140      */ |  | 
| 141     handleShortcut: function(event) |  | 
| 142     { |  | 
| 143         if (this.visibleView && typeof this.visibleView.handleShortcut === "func
      tion") |  | 
| 144             return this.visibleView.handleShortcut(event); |  | 
| 145     }, |  | 
| 146 |  | 
| 147     _initialize: function() | 138     _initialize: function() | 
| 148     { | 139     { | 
| 149         if (!this._initialized && this.isShowing() && this._cachedResourcesWereL
      oaded) { | 140         if (!this._initialized && this.isShowing() && this._cachedResourcesWereL
      oaded) { | 
| 150             this._populateResourceTree(); | 141             this._populateResourceTree(); | 
| 151             this._populateDOMStorageTree(); | 142             this._populateDOMStorageTree(); | 
| 152             this._populateApplicationCacheTree(); | 143             this._populateApplicationCacheTree(); | 
| 153             this._initDefaultSelection(); | 144             this._initDefaultSelection(); | 
| 154             this._initialized = true; | 145             this._initialized = true; | 
| 155         } | 146         } | 
| 156     }, | 147     }, | 
| (...skipping 2208 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2365      */ | 2356      */ | 
| 2366     _lastTreeElement: function() | 2357     _lastTreeElement: function() | 
| 2367     { | 2358     { | 
| 2368         var treeElement = this._root; | 2359         var treeElement = this._root; | 
| 2369         var nextTreeElement; | 2360         var nextTreeElement; | 
| 2370         while (nextTreeElement = this._traverseNext(treeElement)) | 2361         while (nextTreeElement = this._traverseNext(treeElement)) | 
| 2371             treeElement = nextTreeElement; | 2362             treeElement = nextTreeElement; | 
| 2372         return treeElement; | 2363         return treeElement; | 
| 2373     } | 2364     } | 
| 2374 } | 2365 } | 
| OLD | NEW | 
|---|