Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3182)

Unified Diff: chrome/browser/ui/cocoa/chooser_content_view_cocoa.h

Issue 2257743003: Add signal strength indicator icon to WebBluetooth chooser on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth_signal_strength
Patch Set: added signal strength indicator icon to WebBluetooth chooser on Mac Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
+
+// 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_

Powered by Google App Engine
This is Rietveld 408576698