Chromium Code Reviews| 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..c3d39bac3d305acf571c7b0c7cf0b8ff9163b53d 100644 |
| --- a/chrome/browser/ui/cocoa/chooser_content_view_cocoa.h |
| +++ b/chrome/browser/ui/cocoa/chooser_content_view_cocoa.h |
| @@ -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. |
| +- (NSView*)createTableRowView:(NSInteger)rowIndex; |
|
Robert Sesek
2016/08/24 18:47:37
"create" named methods should return strong refere
juncai
2016/08/25 00:59:17
Done.
|
| + |
| +// 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_ |