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

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: fixed Mac asan test Created 4 years, 2 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. For testing and internal use only.
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. For testing and internal use only.
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. For testing and internal use
168 // only.
165 - (NSTextField*)tableRowViewPairedStatus:(NSInteger)row; 169 - (NSTextField*)tableRowViewPairedStatus:(NSInteger)row;
166 170
167 @end 171 @end
168 172
169 #endif // CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_ 173 #endif // CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/chooser_controller/mock_chooser_controller.cc ('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