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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
57 } else { | 57 } else { |
58 this._currentSplitWidget.setSidebarWidget(splitWidget); | 58 this._currentSplitWidget.setSidebarWidget(splitWidget); |
59 this._currentSplitWidget.showBoth(); | 59 this._currentSplitWidget.showBoth(); |
60 } | 60 } |
61 | 61 |
62 var lastSplitWidget = this._currentSplitWidget; | 62 var lastSplitWidget = this._currentSplitWidget; |
63 this._currentSplitWidget = splitWidget; | 63 this._currentSplitWidget = splitWidget; |
64 return lastSplitWidget; | 64 return lastSplitWidget; |
65 }, | 65 }, |
66 | 66 |
67 /** | |
68 * @override | |
69 */ | |
67 detachChildWidgets: function() | 70 detachChildWidgets: function() |
68 { | 71 { |
69 WebInspector.Widget.prototype.detachChildWidgets.call(this); | 72 super.detachChildWidgets(this); |
dgozman
2016/11/01 00:04:07
remove this.
| |
70 this._currentSplitWidget = null; | 73 this._currentSplitWidget = null; |
71 }, | 74 }, |
72 | 75 |
73 __proto__: WebInspector.VBox.prototype | 76 __proto__: WebInspector.VBox.prototype |
74 }; | 77 }; |
OLD | NEW |