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