OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |