OLD | NEW |
---|---|
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 this.setMinimumSize(50, 25, 150, 150); |
vsevik
2014/03/28 16:13:26
150, 100
Should be enough for now.
dgozman
2014/03/28 18:05:02
Done.
| |
20 | 20 |
21 this._workspace = workspace; | 21 this._workspace = workspace; |
22 this._sourcesPanel = sourcesPanel; | 22 this._sourcesPanel = sourcesPanel; |
23 | 23 |
24 this._searchableView = new WebInspector.SearchableView(this); | 24 this._searchableView = new WebInspector.SearchableView(this); |
25 this._searchableView.setMinimalSearchQuerySize(0); | 25 this._searchableView.setMinimalSearchQuerySize(0); |
26 this._searchableView.show(this.element); | 26 this._searchableView.show(this.element); |
27 | 27 |
28 /** @type {!Map.<!WebInspector.UISourceCode, !WebInspector.SourceFrame>} */ | 28 /** @type {!Map.<!WebInspector.UISourceCode, !WebInspector.SourceFrame>} */ |
29 this._sourceFramesByUISourceCode = new Map(); | 29 this._sourceFramesByUISourceCode = new Map(); |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
679 { | 679 { |
680 } | 680 } |
681 | 681 |
682 WebInspector.SourcesView.EditorAction.prototype = { | 682 WebInspector.SourcesView.EditorAction.prototype = { |
683 /** | 683 /** |
684 * @param {!WebInspector.SourcesView} sourcesView | 684 * @param {!WebInspector.SourcesView} sourcesView |
685 * @return {!Element} | 685 * @return {!Element} |
686 */ | 686 */ |
687 button: function(sourcesView) { } | 687 button: function(sourcesView) { } |
688 } | 688 } |
OLD | NEW |