| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_COCOA_VIEW_RESIZER_PONG_H_ | 5 #ifndef CHROME_BROWSER_COCOA_VIEW_RESIZER_PONG_H_ |
| 6 #define CHROME_BROWSER_COCOA_VIEW_RESIZER_PONG_H_ | 6 #define CHROME_BROWSER_COCOA_VIEW_RESIZER_PONG_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #import "chrome/browser/cocoa/view_resizer.h" | 10 #import "chrome/browser/cocoa/view_resizer.h" |
| 11 | 11 |
| 12 @interface ViewResizerPong : NSObject<ViewResizer> { | 12 @interface ViewResizerPong : NSObject<ViewResizer> { |
| 13 @private | 13 @private |
| 14 CGFloat height_; | 14 CGFloat height_; |
| 15 } | 15 } |
| 16 @property CGFloat height; | 16 @property (nonatomic) CGFloat height; |
| 17 | 17 |
| 18 - (void)resizeView:(NSView*)view newHeight:(CGFloat)height; | 18 - (void)resizeView:(NSView*)view newHeight:(CGFloat)height; |
| 19 @end | 19 @end |
| 20 | 20 |
| 21 #endif // CHROME_BROWSER_COCOA_VIEW_RESIZER_PONG_H_ | 21 #endif // CHROME_BROWSER_COCOA_VIEW_RESIZER_PONG_H_ |
| OLD | NEW |