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

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

Issue 2354023003: Add help link when Bluetooth adapter is off for WebBluetooth chooser on Mac (Closed)
Patch Set: rebase Created 4 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 34dff6fe75534e0cf53f36ce0ec949fc4ce2a446..564657317b06b917c88cd937906f82f262a9e27b 100644
--- a/chrome/browser/ui/cocoa/chooser_content_view_cocoa.h
+++ b/chrome/browser/ui/cocoa/chooser_content_view_cocoa.h
@@ -19,6 +19,7 @@ class ChooserController;
@interface ChooserContentViewCocoa : NSView {
@private
base::scoped_nsobject<NSTextField> titleView_;
+ base::scoped_nsobject<NSButton> adapterOffHelpButton_;
base::scoped_nsobject<NSScrollView> scrollView_;
base::scoped_nsobject<NSTableColumn> tableColumn_;
base::scoped_nsobject<NSTableView> tableView_;
@@ -110,6 +111,9 @@ class ChooserController;
// Updates the origin and size of the view.
- (void)updateView;
+// Gets the adapter off help button.
+- (NSButton*)adapterOffHelpButton;
+
// Gets the table view for the chooser.
- (NSTableView*)tableView;
@@ -149,6 +153,9 @@ class ChooserController;
// Called when the chooser is closed.
- (void)close;
+// Called when the adapter off help button is pressed.
+- (void)onAdapterOffHelp:(id)sender;
+
// Called when "Re-scan" button is pressed.
- (void)onRescan:(id)sender;
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698