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

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

Issue 2488383002: Modify WebBluetooth chooser based on UI review feedback (Closed)
Patch Set: removed unused include file 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>
(...skipping 16 matching lines...) Expand all
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_;
30 base::scoped_nsobject<NSBox> separator_; 30 base::scoped_nsobject<NSBox> separator_;
31 base::scoped_nsobject<NSButton> helpButton_; 31 base::scoped_nsobject<NSButton> helpButton_;
32 base::scoped_nsobject<NSTextField> scanningMessage_; 32 base::scoped_nsobject<NSTextField> scanningMessage_;
33 base::scoped_nsobject<NSTextField> wordConnector_; 33 base::scoped_nsobject<NSTextField> wordConnector_;
34 base::scoped_nsobject<NSButton> rescanButton_; 34 base::scoped_nsobject<NSButton> rescanButton_;
35 std::unique_ptr<ChooserController> chooserController_; 35 std::unique_ptr<ChooserController> chooserController_;
36 std::unique_ptr<ChooserContentViewController> chooserContentViewController_; 36 std::unique_ptr<ChooserContentViewController> chooserContentViewController_;
37 CGFloat separatorOriginY_;
37 } 38 }
38 39
39 // Designated initializer. 40 // Designated initializer.
40 - (instancetype)initWithChooserTitle:(NSString*)chooserTitle 41 - (instancetype)initWithChooserTitle:(NSString*)chooserTitle
41 chooserController: 42 chooserController:
42 (std::unique_ptr<ChooserController>)chooserController; 43 (std::unique_ptr<ChooserController>)chooserController;
43 44
44 // Creates the title for the chooser. 45 // Creates the title for the chooser.
45 - (base::scoped_nsobject<NSTextField>)createChooserTitle:(NSString*)title; 46 - (base::scoped_nsobject<NSTextField>)createChooserTitle:(NSString*)title;
46 47
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // 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.
130 - (NSTextField*)tableRowViewText:(NSInteger)row; 131 - (NSTextField*)tableRowViewText:(NSInteger)row;
131 132
132 // 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
133 // only. 134 // only.
134 - (NSTextField*)tableRowViewPairedStatus:(NSInteger)row; 135 - (NSTextField*)tableRowViewPairedStatus:(NSInteger)row;
135 136
136 @end 137 @end
137 138
138 #endif // CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_ 139 #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