| 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_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_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 "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| 11 | 11 |
| 12 // A chooser content view class that user can select an option. | 12 // A chooser content view class that user can select an option. |
| 13 @interface ChooserContentView : NSView { | 13 @interface ChooserContentViewCocoa : NSView { |
| 14 @private | 14 @private |
| 15 base::scoped_nsobject<NSTextField> titleView_; | 15 base::scoped_nsobject<NSTextField> titleView_; |
| 16 base::scoped_nsobject<NSScrollView> scrollView_; | 16 base::scoped_nsobject<NSScrollView> scrollView_; |
| 17 base::scoped_nsobject<NSTableColumn> tableColumn_; | 17 base::scoped_nsobject<NSTableColumn> tableColumn_; |
| 18 base::scoped_nsobject<NSTableView> tableView_; | 18 base::scoped_nsobject<NSTableView> tableView_; |
| 19 base::scoped_nsobject<NSButton> connectButton_; | 19 base::scoped_nsobject<NSButton> connectButton_; |
| 20 base::scoped_nsobject<NSButton> cancelButton_; | 20 base::scoped_nsobject<NSButton> cancelButton_; |
| 21 base::scoped_nsobject<NSBox> separator_; | 21 base::scoped_nsobject<NSBox> separator_; |
| 22 base::scoped_nsobject<NSTextField> message_; | 22 base::scoped_nsobject<NSTextField> message_; |
| 23 base::scoped_nsobject<NSButton> helpButton_; | 23 base::scoped_nsobject<NSButton> helpButton_; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 54 - (NSButton*)connectButton; | 54 - (NSButton*)connectButton; |
| 55 | 55 |
| 56 // Gets the "Cancel" button. | 56 // Gets the "Cancel" button. |
| 57 - (NSButton*)cancelButton; | 57 - (NSButton*)cancelButton; |
| 58 | 58 |
| 59 // Gets the "Get help" button. | 59 // Gets the "Get help" button. |
| 60 - (NSButton*)helpButton; | 60 - (NSButton*)helpButton; |
| 61 | 61 |
| 62 @end | 62 @end |
| 63 | 63 |
| 64 #endif // CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_H_ | 64 #endif // CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_ |
| OLD | NEW |