OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * | 10 * |
(...skipping 18 matching lines...) Expand all Loading... |
29 /** | 29 /** |
30 * @constructor | 30 * @constructor |
31 * @extends {WebInspector.VBox} | 31 * @extends {WebInspector.VBox} |
32 * @param {boolean} isVertical | 32 * @param {boolean} isVertical |
33 */ | 33 */ |
34 WebInspector.StackView = function(isVertical) | 34 WebInspector.StackView = function(isVertical) |
35 { | 35 { |
36 WebInspector.VBox.call(this); | 36 WebInspector.VBox.call(this); |
37 this._isVertical = isVertical; | 37 this._isVertical = isVertical; |
38 this._currentSplitWidget = null; | 38 this._currentSplitWidget = null; |
39 } | 39 }; |
40 | 40 |
41 WebInspector.StackView.prototype = { | 41 WebInspector.StackView.prototype = { |
42 /** | 42 /** |
43 * @param {!WebInspector.Widget} view | 43 * @param {!WebInspector.Widget} view |
44 * @param {string=} sidebarSizeSettingName | 44 * @param {string=} sidebarSizeSettingName |
45 * @param {number=} defaultSidebarWidth | 45 * @param {number=} defaultSidebarWidth |
46 * @param {number=} defaultSidebarHeight | 46 * @param {number=} defaultSidebarHeight |
47 * @return {?WebInspector.SplitWidget} | 47 * @return {?WebInspector.SplitWidget} |
48 */ | 48 */ |
49 appendView: function(view, sidebarSizeSettingName, defaultSidebarWidth, defa
ultSidebarHeight) | 49 appendView: function(view, sidebarSizeSettingName, defaultSidebarWidth, defa
ultSidebarHeight) |
(...skipping 14 matching lines...) Expand all Loading... |
64 return lastSplitWidget; | 64 return lastSplitWidget; |
65 }, | 65 }, |
66 | 66 |
67 detachChildWidgets: function() | 67 detachChildWidgets: function() |
68 { | 68 { |
69 WebInspector.Widget.prototype.detachChildWidgets.call(this); | 69 WebInspector.Widget.prototype.detachChildWidgets.call(this); |
70 this._currentSplitWidget = null; | 70 this._currentSplitWidget = null; |
71 }, | 71 }, |
72 | 72 |
73 __proto__: WebInspector.VBox.prototype | 73 __proto__: WebInspector.VBox.prototype |
74 } | 74 }; |
OLD | NEW |