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

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

Issue 2342723002: Reland: Update image and text color when row is selected in the chooser on Mac (Closed)
Patch Set: address comments Created 4 years, 3 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_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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 148
149 // Called when the chooser is closed. 149 // Called when the chooser is closed.
150 - (void)close; 150 - (void)close;
151 151
152 // Called when "Re-scan" button is pressed. 152 // Called when "Re-scan" button is pressed.
153 - (void)onRescan:(id)sender; 153 - (void)onRescan:(id)sender;
154 154
155 // Called when the "Get help" button is pressed. 155 // Called when the "Get help" button is pressed.
156 - (void)onHelpPressed:(id)sender; 156 - (void)onHelpPressed:(id)sender;
157 157
158 // Gets the image from table row view. For testing only. 158 // Update the color of the image and text in the table row view.
159 - (void)updateContentRowColor;
160
161 // Gets the image from table row view.
Jeffrey Yasskin 2016/09/26 22:25:46 Would it make sense to say "For testing and intern
juncai 2016/09/27 22:10:48 Done.
159 - (NSImageView*)tableRowViewImage:(NSInteger)row; 162 - (NSImageView*)tableRowViewImage:(NSInteger)row;
160 163
161 // Gets the text from table row view. For testing only. 164 // Gets the text from table row view.
162 - (NSTextField*)tableRowViewText:(NSInteger)row; 165 - (NSTextField*)tableRowViewText:(NSInteger)row;
163 166
164 // Gets the paired status from table row view. For testing only. 167 // Gets the paired status from table row view.
165 - (NSTextField*)tableRowViewPairedStatus:(NSInteger)row; 168 - (NSTextField*)tableRowViewPairedStatus:(NSInteger)row;
166 169
167 @end 170 @end
168 171
169 #endif // CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_ 172 #endif // CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698