| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 /** | 31 /** |
| 32 * @constructor | 32 * @constructor |
| 33 * @extends {WebInspector.VBox} | 33 * @extends {WebInspector.VBox} |
| 34 */ | 34 */ |
| 35 WebInspector.InspectorView = function() | 35 WebInspector.InspectorView = function() |
| 36 { | 36 { |
| 37 WebInspector.VBox.call(this); | 37 WebInspector.VBox.call(this); |
| 38 WebInspector.Dialog.setModalHostView(this); | 38 WebInspector.Dialog.setModalHostView(this); |
| 39 WebInspector.GlassPane.DefaultFocusedViewStack.push(this); | 39 WebInspector.GlassPane.DefaultFocusedViewStack.push(this); |
| 40 this.setMinimumSize(210, 72); | 40 this.setMinimumSize(240, 72); |
| 41 | 41 |
| 42 // DevTools sidebar is a vertical split of panels tabbed pane and a drawer. | 42 // DevTools sidebar is a vertical split of panels tabbed pane and a drawer. |
| 43 this._drawerSplitWidget = new WebInspector.SplitWidget(false, true, "Inspect
or.drawerSplitViewState", 200, 200); | 43 this._drawerSplitWidget = new WebInspector.SplitWidget(false, true, "Inspect
or.drawerSplitViewState", 200, 200); |
| 44 this._drawerSplitWidget.hideSidebar(); | 44 this._drawerSplitWidget.hideSidebar(); |
| 45 this._drawerSplitWidget.enableShowModeSaving(); | 45 this._drawerSplitWidget.enableShowModeSaving(); |
| 46 this._drawerSplitWidget.show(this.element); | 46 this._drawerSplitWidget.show(this.element); |
| 47 | 47 |
| 48 this._tabbedPane = new WebInspector.TabbedPane(); | 48 this._tabbedPane = new WebInspector.TabbedPane(); |
| 49 this._tabbedPane.registerRequiredCSS("components/inspectorViewTabbedPane.css
"); | 49 this._tabbedPane.registerRequiredCSS("components/inspectorViewTabbedPane.css
"); |
| 50 this._tabbedPane.element.classList.add("inspector-view-tabbed-pane"); | 50 this._tabbedPane.element.classList.add("inspector-view-tabbed-pane"); |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 WebInspector.InspectorView.ToggleDrawerButtonProvider.prototype = { | 537 WebInspector.InspectorView.ToggleDrawerButtonProvider.prototype = { |
| 538 /** | 538 /** |
| 539 * @override | 539 * @override |
| 540 * @return {?WebInspector.ToolbarItem} | 540 * @return {?WebInspector.ToolbarItem} |
| 541 */ | 541 */ |
| 542 item: function() | 542 item: function() |
| 543 { | 543 { |
| 544 return WebInspector.inspectorView._drawer.toggleButton(); | 544 return WebInspector.inspectorView._drawer.toggleButton(); |
| 545 } | 545 } |
| 546 } | 546 } |
| OLD | NEW |