summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/find_bar_text_field.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/find_bar_text_field.h')
-rw-r--r--chrome/browser/ui/cocoa/find_bar_text_field.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/chrome/browser/ui/cocoa/find_bar_text_field.h b/chrome/browser/ui/cocoa/find_bar_text_field.h
new file mode 100644
index 0000000..765cc64
--- /dev/null
+++ b/chrome/browser/ui/cocoa/find_bar_text_field.h
@@ -0,0 +1,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/ui/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