| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 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 | 
|  | 3 // found in the LICENSE file. | 
|  | 4 | 
|  | 5 #import <Cocoa/Cocoa.h> | 
|  | 6 | 
|  | 7 #import "chrome/browser/cocoa/view_resizer_pong.h" | 
|  | 8 | 
|  | 9 @implementation ViewResizerPong | 
|  | 10 | 
|  | 11 @synthesize height = height_; | 
|  | 12 | 
|  | 13 - (void)resizeView:(NSView*)view newHeight:(float)height { | 
|  | 14   [self setHeight:height]; | 
|  | 15 | 
|  | 16   // Set the view's height and width, in case it uses that as important state. | 
|  | 17   [view setFrame:NSMakeRect(100, 100, 250, height)]; | 
|  | 18 } | 
|  | 19 @end | 
| OLD | NEW | 
|---|