| 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 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 #import "chrome/browser/ui/cocoa/styled_text_field.h" | 6 #import "chrome/browser/ui/cocoa/styled_text_field.h" |
| 7 | 7 |
| 8 @class FindBarTextFieldCell; | 8 @class FindBarTextFieldCell; |
| 9 | 9 |
| 10 // TODO(rohitrao): This class may not need to exist, since it does not really | 10 // TODO(rohitrao): This class may not need to exist, since it does not really |
| 11 // add any functionality over StyledTextField. See if we can change the nib | 11 // add any functionality over StyledTextField. See if we can change the nib |
| 12 // file to put a FindBarTextFieldCell into a StyledTextField. | 12 // file to put a FindBarTextFieldCell into a StyledTextField. |
| 13 | 13 |
| 14 // Extends StyledTextField to use a custom cell class (FindBarTextFieldCell). | 14 // Extends StyledTextField to use a custom cell class (FindBarTextFieldCell). |
| 15 @interface FindBarTextField : StyledTextField { | 15 @interface FindBarTextField : StyledTextField { |
| 16 } | 16 } |
| 17 | 17 |
| 18 // Convenience method to return the cell, casted appropriately. | 18 // Convenience method to return the cell, casted appropriately. |
| 19 - (FindBarTextFieldCell*)findBarTextFieldCell; | 19 - (FindBarTextFieldCell*)findBarTextFieldCell; |
| 20 | 20 |
| 21 @end | 21 @end |
| OLD | NEW |