Index: chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm |
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm |
index ba88a32f2b25823e313338eae03cdd1b73c28d6a..6fc1051399325f6b92b5384ce17271a893579815 100644 |
--- a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm |
+++ b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm |
@@ -114,6 +114,13 @@ NSImage* GetImageFromResourceID(int resourceId) { |
ui::DrawNinePartImage(frame, imageIds, NSCompositeSourceOver, 1.0, true); |
} |
+- (void)drawFocusRingMaskWithFrame:(NSRect)frame inView:(NSView*)view { |
+ // Match the bezel's shape. |
+ [[NSBezierPath bezierPathWithRoundedRect:NSInsetRect(frame, 2, 2) |
+ xRadius:2 |
+ yRadius:2] fill]; |
+} |
+ |
- (void)setIsThemedWindow:(BOOL)isThemedWindow { |
isThemedWindow_ = isThemedWindow; |
} |