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

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: rebase 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
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.Object} 10 * @extends {WebInspector.Object}
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698