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

Side by Side Diff: Source/devtools/front_end/SourcesEditor.js

Issue 197823010: [DevTools] Add minimum size to WebInspector.View. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@splitdip2
Patch Set: fixed comments Created 6 years, 9 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 | « Source/devtools/front_end/SidebarPane.js ('k') | Source/devtools/front_end/SourcesPanel.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @constructor 6 * @constructor
7 * @implements {WebInspector.TabbedEditorContainerDelegate} 7 * @implements {WebInspector.TabbedEditorContainerDelegate}
8 * @implements {WebInspector.Searchable} 8 * @implements {WebInspector.Searchable}
9 * @implements {WebInspector.Replaceable} 9 * @implements {WebInspector.Replaceable}
10 * @extends {WebInspector.VBox} 10 * @extends {WebInspector.VBox}
11 * @param {!WebInspector.Workspace} workspace 11 * @param {!WebInspector.Workspace} workspace
12 * @param {!WebInspector.SourcesPanel} sourcesPanel 12 * @param {!WebInspector.SourcesPanel} sourcesPanel
13 */ 13 */
14 WebInspector.SourcesView = function(workspace, sourcesPanel) 14 WebInspector.SourcesView = function(workspace, sourcesPanel)
15 { 15 {
16 WebInspector.VBox.call(this); 16 WebInspector.VBox.call(this);
17 this.registerRequiredCSS("sourcesView.css"); 17 this.registerRequiredCSS("sourcesView.css");
18 this.element.id = "sources-panel-sources-view"; 18 this.element.id = "sources-panel-sources-view";
19 this.setMinimumSize(50, 25);
19 20
20 this._workspace = workspace; 21 this._workspace = workspace;
21 this._sourcesPanel = sourcesPanel; 22 this._sourcesPanel = sourcesPanel;
22 23
23 this._searchableView = new WebInspector.SearchableView(this); 24 this._searchableView = new WebInspector.SearchableView(this);
24 this._searchableView.setMinimalSearchQuerySize(0); 25 this._searchableView.setMinimalSearchQuerySize(0);
25 this._searchableView.show(this.element); 26 this._searchableView.show(this.element);
26 27
27 /** @type {!Map.<!WebInspector.UISourceCode, !WebInspector.SourceFrame>} */ 28 /** @type {!Map.<!WebInspector.UISourceCode, !WebInspector.SourceFrame>} */
28 this._sourceFramesByUISourceCode = new Map(); 29 this._sourceFramesByUISourceCode = new Map();
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 { 631 {
631 } 632 }
632 633
633 WebInspector.SourcesView.EditorAction.prototype = { 634 WebInspector.SourcesView.EditorAction.prototype = {
634 /** 635 /**
635 * @param {!WebInspector.SourcesView} sourcesView 636 * @param {!WebInspector.SourcesView} sourcesView
636 * @return {!Element} 637 * @return {!Element}
637 */ 638 */
638 button: function(sourcesView) { } 639 button: function(sourcesView) { }
639 } 640 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/SidebarPane.js ('k') | Source/devtools/front_end/SourcesPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698