Index: chrome/browser/ui/cocoa/chooser_content_view_cocoa.h |
diff --git a/chrome/browser/ui/cocoa/chooser_content_view_cocoa.h b/chrome/browser/ui/cocoa/chooser_content_view_cocoa.h |
index 42f09fb8f4ff6dcc3453e457b6c8af186a8bbce7..99a737779541a75e0bcf4984867b3976b38f4999 100644 |
--- a/chrome/browser/ui/cocoa/chooser_content_view_cocoa.h |
+++ b/chrome/browser/ui/cocoa/chooser_content_view_cocoa.h |
@@ -11,9 +11,9 @@ |
#include "base/mac/scoped_nsobject.h" |
+class ChooserContentViewController; |
class ChooserController; |
@class SpinnerView; |
-class ChooserContentViewController; |
// A chooser content view class that user can select an option. |
@interface ChooserContentViewCocoa : NSView { |
@@ -70,6 +70,12 @@ class ChooserContentViewController; |
// Creates the title for the chooser. |
- (base::scoped_nsobject<NSTextField>)createChooserTitle:(NSString*)title; |
+// Creates a table row view for the chooser. |
+- (base::scoped_nsobject<NSView>)createTableRowView:(NSInteger)rowIndex; |
+ |
+// The height of a table row view. |
+- (CGFloat)tableRowViewHeight:(NSInteger)row; |
+ |
// Creates a button with |title|. |
- (base::scoped_nsobject<NSButton>)createButtonWithTitle:(NSString*)title; |
@@ -152,6 +158,12 @@ class ChooserContentViewController; |
// Called when the "Get help" button is pressed. |
- (void)onHelpPressed:(id)sender; |
+// Gets the image from table row view. For testing only. |
+- (NSImageView*)tableRowViewImage:(NSInteger)row; |
+ |
+// Gets the text from table row view. For testing only. |
+- (NSTextField*)tableRowViewText:(NSInteger)row; |
+ |
@end |
#endif // CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_ |