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

Side by Side Diff: Source/devtools/front_end/elements/ElementsPanel.js

Issue 363973002: DevTools: bake generic css files into the concatenated one. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
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 30 matching lines...) Expand all
41 41
42 /** 42 /**
43 * @constructor 43 * @constructor
44 * @implements {WebInspector.Searchable} 44 * @implements {WebInspector.Searchable}
45 * @implements {WebInspector.TargetManager.Observer} 45 * @implements {WebInspector.TargetManager.Observer}
46 * @extends {WebInspector.Panel} 46 * @extends {WebInspector.Panel}
47 */ 47 */
48 WebInspector.ElementsPanel = function() 48 WebInspector.ElementsPanel = function()
49 { 49 {
50 WebInspector.Panel.call(this, "elements"); 50 WebInspector.Panel.call(this, "elements");
51 this.registerRequiredCSS("breadcrumbList.css");
52 this.registerRequiredCSS("elementsPanel.css"); 51 this.registerRequiredCSS("elementsPanel.css");
53 this.registerRequiredCSS("suggestBox.css");
54 this.setHideOnDetach(); 52 this.setHideOnDetach();
55 53
56 this._splitView = new WebInspector.SplitView(true, true, "elementsPanelSplit ViewState", 325, 325); 54 this._splitView = new WebInspector.SplitView(true, true, "elementsPanelSplit ViewState", 325, 325);
57 this._splitView.addEventListener(WebInspector.SplitView.Events.SidebarSizeCh anged, this._updateTreeOutlineVisibleWidth.bind(this)); 55 this._splitView.addEventListener(WebInspector.SplitView.Events.SidebarSizeCh anged, this._updateTreeOutlineVisibleWidth.bind(this));
58 this._splitView.show(this.element); 56 this._splitView.show(this.element);
59 57
60 this._searchableView = new WebInspector.SearchableView(this); 58 this._searchableView = new WebInspector.SearchableView(this);
61 this._searchableView.setMinimumSize(25, 19); 59 this._searchableView.setMinimumSize(25, 19);
62 this._searchableView.show(this._splitView.mainElement()); 60 this._searchableView.show(this._splitView.mainElement());
63 var stackElement = this._searchableView.element; 61 var stackElement = this._searchableView.element;
(...skipping 1411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1475 /** 1473 /**
1476 * @suppressReceiverCheck 1474 * @suppressReceiverCheck
1477 * @this {Element} 1475 * @this {Element}
1478 */ 1476 */
1479 function parentElement() 1477 function parentElement()
1480 { 1478 {
1481 return this.parentElement; 1479 return this.parentElement;
1482 } 1480 }
1483 } 1481 }
1484 } 1482 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698