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

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

Issue 2065803002: Make ChromeExtensionChooserDialog::ShowDialog work for MacViews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 6 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
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_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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/chooser_content_view.mm ('k') | chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698