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

Side by Side Diff: chrome/browser/ui/cocoa/chooser_content_view_cocoa.h

Issue 2179193002: Add test for WebBluetooth chooser spinner, status, and rescan button on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add_test
Patch Set: rebase 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Creates a text field with |text|. 57 // Creates a text field with |text|.
58 - (base::scoped_nsobject<NSTextField>)createTextField:(NSString*)text; 58 - (base::scoped_nsobject<NSTextField>)createTextField:(NSString*)text;
59 59
60 // Creates a hyperlink button with |text|. 60 // Creates a hyperlink button with |text|.
61 - (base::scoped_nsobject<NSButton>)createHyperlinkButtonWithText: 61 - (base::scoped_nsobject<NSButton>)createHyperlinkButtonWithText:
62 (NSString*)text; 62 (NSString*)text;
63 63
64 // Gets the table view for the chooser. 64 // Gets the table view for the chooser.
65 - (NSTableView*)tableView; 65 - (NSTableView*)tableView;
66 66
67 // Gets the spinner.
68 - (SpinnerView*)spinner;
69
70 // Gets the status text field.
71 - (NSTextField*)status;
72
73 // Gets the "Re-scan" button.
74 - (NSButton*)rescanButton;
75
67 // Gets the "Connect" button. 76 // Gets the "Connect" button.
68 - (NSButton*)connectButton; 77 - (NSButton*)connectButton;
69 78
70 // Gets the "Cancel" button. 79 // Gets the "Cancel" button.
71 - (NSButton*)cancelButton; 80 - (NSButton*)cancelButton;
72 81
73 // Gets the "Get help" button. 82 // Gets the "Get help" button.
74 - (NSButton*)helpButton; 83 - (NSButton*)helpButton;
75 84
76 // The number of options in the |tableView_|. 85 // The number of options in the |tableView_|.
(...skipping 16 matching lines...) Expand all
93 102
94 // Called when "Re-scan" button is pressed. 103 // Called when "Re-scan" button is pressed.
95 - (void)onRescan:(id)sender; 104 - (void)onRescan:(id)sender;
96 105
97 // Called when the "Get help" button is pressed. 106 // Called when the "Get help" button is pressed.
98 - (void)onHelpPressed:(id)sender; 107 - (void)onHelpPressed:(id)sender;
99 108
100 @end 109 @end
101 110
102 #endif // CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_ 111 #endif // CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_
OLDNEW
« 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