| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 * This view stacks three boxes -- one at the top, one at the bottom, and | 6 * This view stacks three boxes -- one at the top, one at the bottom, and |
| 7 * one that fills the remaining space between those two. | 7 * one that fills the remaining space between those two. |
| 8 * | 8 * |
| 9 * +----------------------+ | 9 * +----------------------+ |
| 10 * | topbar | | 10 * | topbar | |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 this.bottomView_.setGeometry(left, this.midView_.getBottom(), | 50 this.bottomView_.setGeometry(left, this.midView_.getBottom(), |
| 51 width, bottombarHeight); | 51 width, bottombarHeight); |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 TopMidBottomView.prototype.show = function(isVisible) { | 54 TopMidBottomView.prototype.show = function(isVisible) { |
| 55 TopMidBottomView.superClass_.show.call(this, isVisible); | 55 TopMidBottomView.superClass_.show.call(this, isVisible); |
| 56 this.topView_.show(isVisible); | 56 this.topView_.show(isVisible); |
| 57 this.midView_.show(isVisible); | 57 this.midView_.show(isVisible); |
| 58 this.bottomView_.show(isVisible); | 58 this.bottomView_.show(isVisible); |
| 59 }; | 59 }; |
| OLD | NEW |