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.Object} | 10 * @extends {WebInspector.Object} |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 __proto__: WebInspector.Object.prototype | 629 __proto__: WebInspector.Object.prototype |
630 } | 630 } |
631 | 631 |
632 /** | 632 /** |
633 * @constructor | 633 * @constructor |
634 * @extends {WebInspector.VBox} | 634 * @extends {WebInspector.VBox} |
635 */ | 635 */ |
636 WebInspector.SourcesView = function() | 636 WebInspector.SourcesView = function() |
637 { | 637 { |
638 WebInspector.VBox.call(this); | 638 WebInspector.VBox.call(this); |
| 639 this.setMinimumSize(50, 25); |
639 this.registerRequiredCSS("sourcesView.css"); | 640 this.registerRequiredCSS("sourcesView.css"); |
640 this.element.id = "sources-panel-sources-view"; | 641 this.element.id = "sources-panel-sources-view"; |
641 this.element.addEventListener("dragenter", this._onDragEnter.bind(this), tru
e); | 642 this.element.addEventListener("dragenter", this._onDragEnter.bind(this), tru
e); |
642 this.element.addEventListener("dragover", this._onDragOver.bind(this), true)
; | 643 this.element.addEventListener("dragover", this._onDragOver.bind(this), true)
; |
643 } | 644 } |
644 | 645 |
645 WebInspector.SourcesView.dragAndDropFilesType = "Files"; | 646 WebInspector.SourcesView.dragAndDropFilesType = "Files"; |
646 | 647 |
647 WebInspector.SourcesView.prototype = { | 648 WebInspector.SourcesView.prototype = { |
648 _onDragEnter: function (event) | 649 _onDragEnter: function (event) |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 { | 700 { |
700 } | 701 } |
701 | 702 |
702 WebInspector.SourcesEditor.EditorAction.prototype = { | 703 WebInspector.SourcesEditor.EditorAction.prototype = { |
703 /** | 704 /** |
704 * @param {!WebInspector.SourcesEditor} sourcesEditor | 705 * @param {!WebInspector.SourcesEditor} sourcesEditor |
705 * @return {!Element} | 706 * @return {!Element} |
706 */ | 707 */ |
707 button: function(sourcesEditor) { } | 708 button: function(sourcesEditor) { } |
708 } | 709 } |
OLD | NEW |