diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/cocoa/autocomplete_text_field_cell.mm | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/chrome/browser/cocoa/autocomplete_text_field_cell.mm b/chrome/browser/cocoa/autocomplete_text_field_cell.mm index 7125774..e065c14 100644 --- a/chrome/browser/cocoa/autocomplete_text_field_cell.mm +++ b/chrome/browser/cocoa/autocomplete_text_field_cell.mm @@ -245,18 +245,17 @@ const NSInteger kBaselineOffset = 4; NSMinX(textFrame) - x, cellFrame.size.height - 2 * kKeywordYInset)); - // Draw a token rectangle with rounded corners. + // Draw the token rectangle with rounded corners. NSRect frame(NSInsetRect(infoFrame, 0.5, 0.5)); NSBezierPath* path = [NSBezierPath bezierPathWithRoundedRect:frame xRadius:4.0 yRadius:4.0]; - [[NSColor controlColor] set]; + // Matches the color of the highlighted line in the popup. + [[NSColor selectedControlColor] set]; [path fill]; - GTMTheme *theme = [controlView gtm_theme]; - NSColor* stroke = [theme strokeColorForStyle:GTMThemeStyleToolBarButton - state:YES]; - [stroke setStroke]; + // Border around token rectangle, match focus ring's inner color. + [[[NSColor keyboardFocusIndicatorColor] colorWithAlphaComponent:0.5] set]; [path setLineWidth:1.0]; [path stroke]; |