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

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

Issue 2347603003: [DevTools] Remove usage of outline-disclosure from resources sidebar. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/resources/resourcesPanel.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 25 matching lines...) Expand all
36 WebInspector.ResourcesPanel = function() 36 WebInspector.ResourcesPanel = function()
37 { 37 {
38 WebInspector.PanelWithSidebar.call(this, "resources"); 38 WebInspector.PanelWithSidebar.call(this, "resources");
39 this.registerRequiredCSS("resources/resourcesPanel.css"); 39 this.registerRequiredCSS("resources/resourcesPanel.css");
40 40
41 this._resourcesLastSelectedItemSetting = WebInspector.settings.createSetting ("resourcesLastSelectedItem", {}); 41 this._resourcesLastSelectedItemSetting = WebInspector.settings.createSetting ("resourcesLastSelectedItem", {});
42 42
43 this._sidebarTree = new TreeOutlineInShadow(); 43 this._sidebarTree = new TreeOutlineInShadow();
44 this._sidebarTree.element.classList.add("resources-sidebar"); 44 this._sidebarTree.element.classList.add("resources-sidebar");
45 this._sidebarTree.registerRequiredCSS("resources/resourcesSidebar.css"); 45 this._sidebarTree.registerRequiredCSS("resources/resourcesSidebar.css");
46 this._sidebarTree.element.classList.add("filter-all", "outline-disclosure"); 46 this._sidebarTree.element.classList.add("filter-all");
47 this.panelSidebarElement().appendChild(this._sidebarTree.element); 47 this.panelSidebarElement().appendChild(this._sidebarTree.element);
48 this.setDefaultFocusedElement(this._sidebarTree.element); 48 this.setDefaultFocusedElement(this._sidebarTree.element);
49 49
50 this._applicationTreeElement = this._addSidebarSection(WebInspector.UIString ("Application")); 50 this._applicationTreeElement = this._addSidebarSection(WebInspector.UIString ("Application"));
51 this._manifestTreeElement = new WebInspector.AppManifestTreeElement(this); 51 this._manifestTreeElement = new WebInspector.AppManifestTreeElement(this);
52 this._applicationTreeElement.appendChild(this._manifestTreeElement); 52 this._applicationTreeElement.appendChild(this._manifestTreeElement);
53 this.serviceWorkersTreeElement = new WebInspector.ServiceWorkersTreeElement( this); 53 this.serviceWorkersTreeElement = new WebInspector.ServiceWorkersTreeElement( this);
54 this._applicationTreeElement.appendChild(this.serviceWorkersTreeElement); 54 this._applicationTreeElement.appendChild(this.serviceWorkersTreeElement);
55 var clearStorageTreeElement = new WebInspector.ClearStorageTreeElement(this) ; 55 var clearStorageTreeElement = new WebInspector.ClearStorageTreeElement(this) ;
56 this._applicationTreeElement.appendChild(clearStorageTreeElement); 56 this._applicationTreeElement.appendChild(clearStorageTreeElement);
(...skipping 2150 matching lines...) Expand 10 before | Expand all | Expand 10 after
2207 WebInspector.inspectorView.setCurrentPanel(WebInspector.ResourcesPanel._inst ance()); 2207 WebInspector.inspectorView.setCurrentPanel(WebInspector.ResourcesPanel._inst ance());
2208 } 2208 }
2209 2209
2210 /** 2210 /**
2211 * @return {!WebInspector.ResourcesPanel} 2211 * @return {!WebInspector.ResourcesPanel}
2212 */ 2212 */
2213 WebInspector.ResourcesPanel._instance = function() 2213 WebInspector.ResourcesPanel._instance = function()
2214 { 2214 {
2215 return /** @type {!WebInspector.ResourcesPanel} */ (self.runtime.sharedInsta nce(WebInspector.ResourcesPanel)); 2215 return /** @type {!WebInspector.ResourcesPanel} */ (self.runtime.sharedInsta nce(WebInspector.ResourcesPanel));
2216 } 2216 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/resources/resourcesPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698