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

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

Issue 2439453006: Make "to allow pairing" not be a link in the WebBluetooth chooser (Closed)
Patch Set: address comments Created 4 years, 1 month 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_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
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_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('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