| Index: chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm
 | 
| diff --git a/chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm b/chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm
 | 
| index 567c9fe27604ca7c9511ea5707e09a5a35b595d4..b29926866c6ea9eed422694d0b8d5cc12a9a59bc 100644
 | 
| --- a/chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm
 | 
| +++ b/chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm
 | 
| @@ -61,9 +61,12 @@ const CGFloat kTableRowViewHorizontalPadding = 5.0f;
 | 
|  const CGFloat kTableRowViewVerticalPadding = 1.0f;
 | 
|  
 | 
|  // The lookup table for signal strength level image.
 | 
| -const int kSignalStrengthLevelImageIds[5] = {IDR_SIGNAL_0_BAR, IDR_SIGNAL_1_BAR,
 | 
| -                                             IDR_SIGNAL_2_BAR, IDR_SIGNAL_3_BAR,
 | 
| -                                             IDR_SIGNAL_4_BAR};
 | 
| +const int kSignalStrengthLevelBlackImageIds[5] = {
 | 
| +    IDR_SIGNAL_0_BAR_BLACK, IDR_SIGNAL_1_BAR_BLACK, IDR_SIGNAL_2_BAR_BLACK,
 | 
| +    IDR_SIGNAL_3_BAR_BLACK, IDR_SIGNAL_4_BAR_BLACK};
 | 
| +const int kSignalStrengthLevelWhiteImageIds[5] = {
 | 
| +    IDR_SIGNAL_0_BAR_WHITE, IDR_SIGNAL_1_BAR_WHITE, IDR_SIGNAL_2_BAR_WHITE,
 | 
| +    IDR_SIGNAL_3_BAR_WHITE, IDR_SIGNAL_4_BAR_WHITE};
 | 
|  
 | 
|  // Creates a label with |text|.
 | 
|  base::scoped_nsobject<NSTextField> CreateLabel(NSString* text) {
 | 
| @@ -75,6 +78,7 @@ base::scoped_nsobject<NSTextField> CreateLabel(NSString* text) {
 | 
|    [label setSelectable:NO];
 | 
|    [label setStringValue:text];
 | 
|    [label setFont:[NSFont systemFontOfSize:[NSFont systemFontSize]]];
 | 
| +  [label setTextColor:[NSColor blackColor]];
 | 
|    [label sizeToFit];
 | 
|    return label;
 | 
|  }
 | 
| @@ -146,8 +150,8 @@ base::scoped_nsobject<NSTextField> CreateLabel(NSString* text) {
 | 
|      } else if (level != -1) {
 | 
|        DCHECK_GE(level, 0);
 | 
|        DCHECK_LT(level, base::checked_cast<NSInteger>(
 | 
| -                           arraysize(kSignalStrengthLevelImageIds)));
 | 
| -      image = rb.GetNativeImageNamed(kSignalStrengthLevelImageIds[level])
 | 
| +                           arraysize(kSignalStrengthLevelBlackImageIds)));
 | 
| +      image = rb.GetNativeImageNamed(kSignalStrengthLevelBlackImageIds[level])
 | 
|                    .ToNSImage();
 | 
|      }
 | 
|  
 | 
| @@ -805,6 +809,49 @@ void ChooserContentViewController::UpdateTableView() {
 | 
|    chooserController_->OpenHelpCenterUrl();
 | 
|  }
 | 
|  
 | 
| +- (void)updateContentRowColor {
 | 
| +  NSInteger selectedRow = [tableView_ selectedRow];
 | 
| +  NSInteger numRows = [self numberOfOptions];
 | 
| +  ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
 | 
| +  for (NSInteger rowIndex = 0; rowIndex < numRows; ++rowIndex) {
 | 
| +    // Update the color of the text.
 | 
| +    [[self tableRowViewText:rowIndex]
 | 
| +        setTextColor:(rowIndex == selectedRow ? [NSColor whiteColor]
 | 
| +                                              : [NSColor blackColor])];
 | 
| +
 | 
| +    // Update the color of the image.
 | 
| +    if (chooserController_->ShouldShowIconBeforeText()) {
 | 
| +      if (chooserController_->IsConnected(rowIndex)) {
 | 
| +        [[self tableRowViewImage:rowIndex]
 | 
| +            setImage:gfx::NSImageFromImageSkia(gfx::CreateVectorIcon(
 | 
| +                         gfx::VectorIconId::BLUETOOTH_CONNECTED,
 | 
| +                         rowIndex == selectedRow ? SK_ColorWHITE
 | 
| +                                                 : gfx::kChromeIconGrey))];
 | 
| +      } else {
 | 
| +        int signalStrengthLevel =
 | 
| +            chooserController_->GetSignalStrengthLevel(rowIndex);
 | 
| +        if (signalStrengthLevel != -1) {
 | 
| +          int imageId =
 | 
| +              rowIndex == selectedRow
 | 
| +                  ? kSignalStrengthLevelWhiteImageIds[signalStrengthLevel]
 | 
| +                  : kSignalStrengthLevelBlackImageIds[signalStrengthLevel];
 | 
| +          [[self tableRowViewImage:rowIndex]
 | 
| +              setImage:rb.GetNativeImageNamed(imageId).ToNSImage()];
 | 
| +        }
 | 
| +      }
 | 
| +    }
 | 
| +
 | 
| +    // Update the color of paired status.
 | 
| +    NSTextField* pairedStatusText = [self tableRowViewPairedStatus:rowIndex];
 | 
| +    if (pairedStatusText) {
 | 
| +      [pairedStatusText
 | 
| +          setTextColor:(skia::SkColorToCalibratedNSColor(
 | 
| +                           rowIndex == selectedRow ? gfx::kGoogleGreen300
 | 
| +                                                   : gfx::kGoogleGreen700))];
 | 
| +    }
 | 
| +  }
 | 
| +}
 | 
| +
 | 
|  - (NSImageView*)tableRowViewImage:(NSInteger)row {
 | 
|    ChooserContentTableRowView* tableRowView =
 | 
|        [tableView_ viewAtColumn:0 row:row makeIfNecessary:YES];
 | 
| 
 |