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

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

Issue 459833002: Revert of Revert of DevTools: Introduce module initializers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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) 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 10 matching lines...) Expand all
21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY 22 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
23 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 importScript("ApplicationCacheItemsView.js");
32 importScript("CookieItemsView.js");
33 importScript("DOMStorageItemsView.js");
34 importScript("DatabaseQueryView.js");
35 importScript("DatabaseTableView.js");
36 importScript("DirectoryContentView.js");
37 importScript("IndexedDBViews.js");
38 importScript("FileContentView.js");
39 importScript("FileSystemView.js");
40
41 /** 31 /**
42 * @constructor 32 * @constructor
43 * @extends {WebInspector.PanelWithSidebarTree} 33 * @extends {WebInspector.PanelWithSidebarTree}
44 */ 34 */
45 WebInspector.ResourcesPanel = function(database) 35 WebInspector.ResourcesPanel = function(database)
46 { 36 {
47 WebInspector.PanelWithSidebarTree.call(this, "resources"); 37 WebInspector.PanelWithSidebarTree.call(this, "resources");
48 this.registerRequiredCSS("resourcesPanel.css"); 38 this.registerRequiredCSS("resourcesPanel.css");
49 39
50 WebInspector.settings.resourcesLastSelectedItem = WebInspector.settings.crea teSetting("resourcesLastSelectedItem", {}); 40 WebInspector.settings.resourcesLastSelectedItem = WebInspector.settings.crea teSetting("resourcesLastSelectedItem", {});
(...skipping 2053 matching lines...) Expand 10 before | Expand all | Expand 10 after
2104 } 2094 }
2105 2095
2106 WebInspector.StorageCategoryView.prototype = { 2096 WebInspector.StorageCategoryView.prototype = {
2107 setText: function(text) 2097 setText: function(text)
2108 { 2098 {
2109 this._emptyView.text = text; 2099 this._emptyView.text = text;
2110 }, 2100 },
2111 2101
2112 __proto__: WebInspector.VBox.prototype 2102 __proto__: WebInspector.VBox.prototype
2113 } 2103 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/profiler/module.json ('k') | Source/devtools/front_end/resources/_module.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698