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_DEVICE_CHOOSER_CONTENT_VIEW_COCOA_H_ |
6 #define CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_ | 6 #define CHROME_BROWSER_UI_COCOA_DEVICE_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 DeviceChooserContentViewCocoa : 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<NSTextField> adapterOffMessage_; |
24 base::scoped_nsobject<NSScrollView> scrollView_; | 24 base::scoped_nsobject<NSScrollView> scrollView_; |
25 base::scoped_nsobject<NSTableColumn> tableColumn_; | 25 base::scoped_nsobject<NSTableColumn> tableColumn_; |
26 base::scoped_nsobject<NSTableView> tableView_; | 26 base::scoped_nsobject<NSTableView> tableView_; |
27 base::scoped_nsobject<SpinnerView> spinner_; | 27 base::scoped_nsobject<SpinnerView> spinner_; |
28 base::scoped_nsobject<NSButton> connectButton_; | 28 base::scoped_nsobject<NSButton> connectButton_; |
29 base::scoped_nsobject<NSButton> cancelButton_; | 29 base::scoped_nsobject<NSButton> cancelButton_; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 129 |
130 // Gets the text from table row view. For testing and internal use only. | 130 // Gets the text from table row view. For testing and internal use only. |
131 - (NSTextField*)tableRowViewText:(NSInteger)row; | 131 - (NSTextField*)tableRowViewText:(NSInteger)row; |
132 | 132 |
133 // Gets the paired status from table row view. For testing and internal use | 133 // Gets the paired status from table row view. For testing and internal use |
134 // only. | 134 // only. |
135 - (NSTextField*)tableRowViewPairedStatus:(NSInteger)row; | 135 - (NSTextField*)tableRowViewPairedStatus:(NSInteger)row; |
136 | 136 |
137 @end | 137 @end |
138 | 138 |
139 #endif // CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_ | 139 #endif // CHROME_BROWSER_UI_COCOA_DEVICE_CHOOSER_CONTENT_VIEW_COCOA_H_ |
OLD | NEW |