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

Side by Side Diff: Source/devtools/front_end/layers/LayersPanel.js

Issue 658793002: DevTools: move non panel-specific CSS from layerPanel.css to timelinePanel.css (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | Source/devtools/front_end/layersPanel.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 19 matching lines...) Expand all
30 30
31 /** 31 /**
32 * @constructor 32 * @constructor
33 * @extends {WebInspector.PanelWithSidebarTree} 33 * @extends {WebInspector.PanelWithSidebarTree}
34 * @implements {WebInspector.TargetManager.Observer} 34 * @implements {WebInspector.TargetManager.Observer}
35 */ 35 */
36 WebInspector.LayersPanel = function() 36 WebInspector.LayersPanel = function()
37 { 37 {
38 WebInspector.PanelWithSidebarTree.call(this, "layers", 225); 38 WebInspector.PanelWithSidebarTree.call(this, "layers", 225);
39 this.registerRequiredCSS("layersPanel.css"); 39 this.registerRequiredCSS("layersPanel.css");
40 this.registerRequiredCSS("timelinePanel.css");
40 this._target = null; 41 this._target = null;
41 42
42 this.sidebarElement().classList.add("outline-disclosure"); 43 this.sidebarElement().classList.add("outline-disclosure");
43 this.sidebarTree.element.classList.remove("sidebar-tree"); 44 this.sidebarTree.element.classList.remove("sidebar-tree");
44 45
45 WebInspector.targetManager.observeTargets(this); 46 WebInspector.targetManager.observeTargets(this);
46 this._currentlySelectedLayer = null; 47 this._currentlySelectedLayer = null;
47 this._currentlyHoveredLayer = null; 48 this._currentlyHoveredLayer = null;
48 49
49 this._layerTreeOutline = new WebInspector.LayerTreeOutline(this.sidebarTree) ; 50 this._layerTreeOutline = new WebInspector.LayerTreeOutline(this.sidebarTree) ;
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 271
271 WebInspector.LayersPanelFactory.prototype = { 272 WebInspector.LayersPanelFactory.prototype = {
272 /** 273 /**
273 * @return {!WebInspector.Panel} 274 * @return {!WebInspector.Panel}
274 */ 275 */
275 createPanel: function() 276 createPanel: function()
276 { 277 {
277 return WebInspector.LayersPanel._instance(); 278 return WebInspector.LayersPanel._instance();
278 } 279 }
279 } 280 }
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/layersPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698