From 8796cfabae6d59a33895e8ad6928b077b40a72eb Mon Sep 17 00:00:00 2001 From: hcarmona Date: Thu, 6 Aug 2015 20:08:50 -0700 Subject: [PATCH] Make the "Translate" button blue on the translate bubble. Screenshot: https://imgur.com/tX5zRgJ BUG=NONE Review URL: https://codereview.chromium.org/1276123002 Cr-Commit-Position: refs/heads/master@{#342282} --- chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm b/chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm index 89065ae375e0..b39627ff2c2a 100644 --- a/chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm +++ b/chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm @@ -219,6 +219,7 @@ const CGFloat kContentWidth = kWindowWidth - 2 * kFramePadding; [self addButton:title action:@selector(handleTranslateButtonPressed) toView:view]; + [translateButton setKeyEquivalent:@"\r"]; base::string16 originalLanguageName = model_->GetLanguageNameAt(model_->GetOriginalLanguageIndex()); -- 2.11.4.GIT