summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/find_bar_text_field.h
blob: 714fbdb021325261a42d86120353d308fe598e1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import <Cocoa/Cocoa.h>
#import "chrome/browser/cocoa/styled_text_field.h"

@class FindBarTextFieldCell;

// TODO(rohitrao): This class may not need to exist, since it does not really
// add any functionality over StyledTextField.  See if we can change the nib
// file to put a FindBarTextFieldCell into a StyledTextField.

// Extends StyledTextField to use a custom cell class (FindBarTextFieldCell).
@interface FindBarTextField : StyledTextField {
}

// Convenience method to return the cell, casted appropriately.
- (FindBarTextFieldCell*)findBarTextFieldCell;

@end