| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_COCOA_VERTICAL_LAYOUT_VIEW_ | |
| 6 #define CHROME_BROWSER_COCOA_VERTICAL_LAYOUT_VIEW_ | |
| 7 | |
| 8 #import <Cocoa/Cocoa.h> | |
| 9 | |
| 10 // A view class that automatically performs layout of child views based | |
| 11 // on paint order of the children in the view hierarchy. The children are | |
| 12 // arranged top-to-bottom (in y-order) based on each child's height. | |
| 13 // Horizontal (x) positions are left as specified. Layout is performed when | |
| 14 // children are added, removed, or have their frames changed. Layout is also | |
| 15 // performed when this view (|self|) has its frame changed. | |
| 16 // Autoresizing is disabled for |VerticalLayoutView|s. | |
| 17 @interface VerticalLayoutView : NSView { | |
| 18 } | |
| 19 | |
| 20 @end | |
| 21 | |
| 22 #endif // CHROME_BROWSER_COCOA_VERTICAL_LAYOUT_VIEW_ | |
| OLD | NEW |