Index: chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa.mm |
diff --git a/chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa.mm b/chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa.mm |
index edcaef5eef99b2d167d6a5419ca294f1fafeb070..2651dd3c7fe988c9e007c64ef9d64b2126c4e5ee 100644 |
--- a/chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa.mm |
@@ -213,6 +213,12 @@ std::unique_ptr<BubbleUi> ChooserBubbleDelegate::BuildBubbleUi() { |
[connectButton_ setEnabled:[tableView_ numberOfSelectedRows] > 0]; |
} |
+// Selection changes (while the mouse button is still down). |
+- (void)tableViewSelectionIsChanging:(NSNotification*)aNotification { |
+ [chooserContentView_ updateContentRowColor]; |
+ [connectButton_ setEnabled:[tableView_ numberOfSelectedRows] > 0]; |
+} |
+ |
- (void)updateAnchorPosition { |
[self setParentWindow:[self getExpectedParentWindow]]; |
[self setAnchorPoint:[self getExpectedAnchorPoint]]; |