| 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_UI_COCOA_VIEW_RESIZER_PONG_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_VIEW_RESIZER_PONG_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_VIEW_RESIZER_PONG_H_ | 6 #define CHROME_BROWSER_UI_COCOA_VIEW_RESIZER_PONG_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 | 10 |
| 11 #import "chrome/browser/ui/cocoa/view_resizer.h" | 11 #import "chrome/browser/ui/cocoa/view_resizer.h" |
| 12 | 12 |
| 13 @interface ViewResizerPong : NSObject<ViewResizer> { | 13 @interface ViewResizerPong : NSObject<ViewResizer> { |
| 14 @private | 14 @private |
| 15 CGFloat height_; | 15 CGFloat height_; |
| 16 } | 16 } |
| 17 @property (nonatomic) CGFloat height; | 17 @property(nonatomic) CGFloat height; |
| 18 | 18 |
| 19 - (void)resizeView:(NSView*)view newHeight:(CGFloat)height; | 19 - (void)resizeView:(NSView*)view newHeight:(CGFloat)height; |
| 20 @end | 20 @end |
| 21 | 21 |
| 22 #endif // CHROME_BROWSER_UI_COCOA_VIEW_RESIZER_PONG_H_ | 22 #endif // CHROME_BROWSER_UI_COCOA_VIEW_RESIZER_PONG_H_ |
| OLD | NEW |