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> |
11 | 11 |
12 #include "base/mac/scoped_nsobject.h" | 12 #include "base/mac/scoped_nsobject.h" |
13 | 13 |
14 class ChooserContentViewController; | 14 class ChooserContentViewController; |
15 class ChooserController; | 15 class ChooserController; |
16 @class SpinnerView; | 16 @class SpinnerView; |
17 | 17 |
18 // A chooser content view class that user can select an option. | 18 // A chooser content view class that user can select an option. |
19 @interface ChooserContentViewCocoa : NSView { | 19 @interface ChooserContentViewCocoa : NSView { |
20 @private | 20 @private |
21 base::scoped_nsobject<NSTextField> titleView_; | 21 base::scoped_nsobject<NSTextField> titleView_; |
22 base::scoped_nsobject<NSButton> adapterOffHelpButton_; | 22 base::scoped_nsobject<NSButton> adapterOffHelpButton_; |
| 23 base::scoped_nsobject<NSTextField> adapterOffMessage_; |
23 base::scoped_nsobject<NSScrollView> scrollView_; | 24 base::scoped_nsobject<NSScrollView> scrollView_; |
24 base::scoped_nsobject<NSTableColumn> tableColumn_; | 25 base::scoped_nsobject<NSTableColumn> tableColumn_; |
25 base::scoped_nsobject<NSTableView> tableView_; | 26 base::scoped_nsobject<NSTableView> tableView_; |
26 base::scoped_nsobject<SpinnerView> spinner_; | 27 base::scoped_nsobject<SpinnerView> spinner_; |
27 base::scoped_nsobject<NSTextField> status_; | 28 base::scoped_nsobject<NSTextField> status_; |
28 base::scoped_nsobject<NSButton> rescanButton_; | 29 base::scoped_nsobject<NSButton> rescanButton_; |
29 base::scoped_nsobject<NSButton> connectButton_; | 30 base::scoped_nsobject<NSButton> connectButton_; |
30 base::scoped_nsobject<NSButton> cancelButton_; | 31 base::scoped_nsobject<NSButton> cancelButton_; |
31 base::scoped_nsobject<NSBox> separator_; | 32 base::scoped_nsobject<NSBox> separator_; |
32 base::scoped_nsobject<NSTextField> message_; | 33 base::scoped_nsobject<NSTextField> message_; |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 // Gets the text from table row view. For testing and internal use only. | 172 // Gets the text from table row view. For testing and internal use only. |
172 - (NSTextField*)tableRowViewText:(NSInteger)row; | 173 - (NSTextField*)tableRowViewText:(NSInteger)row; |
173 | 174 |
174 // Gets the paired status from table row view. For testing and internal use | 175 // Gets the paired status from table row view. For testing and internal use |
175 // only. | 176 // only. |
176 - (NSTextField*)tableRowViewPairedStatus:(NSInteger)row; | 177 - (NSTextField*)tableRowViewPairedStatus:(NSInteger)row; |
177 | 178 |
178 @end | 179 @end |
179 | 180 |
180 #endif // CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_ | 181 #endif // CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_ |
OLD | NEW |