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

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

Issue 1182483008: Regression : Unwated white space seen in Styles section after resizing the devtools window. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | no next file » | 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 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Joseph Pecoraro 3 * Copyright (C) 2009 Joseph Pecoraro
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 17 matching lines...) Expand all
28 */ 28 */
29 29
30 /** 30 /**
31 * @constructor 31 * @constructor
32 * @extends {WebInspector.ElementsSidebarPane} 32 * @extends {WebInspector.ElementsSidebarPane}
33 * @param {function()} requestShowCallback 33 * @param {function()} requestShowCallback
34 */ 34 */
35 WebInspector.StylesSidebarPane = function(requestShowCallback) 35 WebInspector.StylesSidebarPane = function(requestShowCallback)
36 { 36 {
37 WebInspector.ElementsSidebarPane.call(this, WebInspector.UIString("Styles")) ; 37 WebInspector.ElementsSidebarPane.call(this, WebInspector.UIString("Styles")) ;
38 this.setMinimumSize(96, 26);
38 39
39 this.element.addEventListener("contextmenu", this._contextMenuEventFired.bin d(this), true); 40 this.element.addEventListener("contextmenu", this._contextMenuEventFired.bin d(this), true);
40 WebInspector.moduleSetting("colorFormat").addChangeListener(this.update.bind (this)); 41 WebInspector.moduleSetting("colorFormat").addChangeListener(this.update.bind (this));
41 WebInspector.moduleSetting("textEditorIndent").addChangeListener(this.update .bind(this)); 42 WebInspector.moduleSetting("textEditorIndent").addChangeListener(this.update .bind(this));
42 43
43 var hbox = this.element.createChild("div", "hbox styles-sidebar-pane-toolbar "); 44 var hbox = this.element.createChild("div", "hbox styles-sidebar-pane-toolbar ");
44 var filterContainerElement = hbox.createChild("div", "styles-sidebar-pane-fi lter-box"); 45 var filterContainerElement = hbox.createChild("div", "styles-sidebar-pane-fi lter-box");
45 this._filterInput = WebInspector.StylesSidebarPane.createPropertyFilterEleme nt(WebInspector.UIString("Filter"), hbox, this._onFilterChanged.bind(this)); 46 this._filterInput = WebInspector.StylesSidebarPane.createPropertyFilterEleme nt(WebInspector.UIString("Filter"), hbox, this._onFilterChanged.bind(this));
46 filterContainerElement.appendChild(this._filterInput); 47 filterContainerElement.appendChild(this._filterInput);
47 48
(...skipping 3203 matching lines...) Expand 10 before | Expand all | Expand 10 after
3251 3252
3252 /** 3253 /**
3253 * @override 3254 * @override
3254 * @return {?WebInspector.ToolbarItem} 3255 * @return {?WebInspector.ToolbarItem}
3255 */ 3256 */
3256 item: function() 3257 item: function()
3257 { 3258 {
3258 return this._button; 3259 return this._button;
3259 } 3260 }
3260 } 3261 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698