Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3019)

Unified Diff: chrome/browser/ui/cocoa/autofill/down_arrow_popup_menu_cell.mm

Issue 1310183005: Mac: Fix missing focus rings on toolbar, profile, and tab buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@snapshot
Patch Set: Fix extension buttons Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/nibs/Toolbar.xib ('k') | chrome/browser/ui/cocoa/extensions/browser_action_button.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/autofill/down_arrow_popup_menu_cell.mm
diff --git a/chrome/browser/ui/cocoa/autofill/down_arrow_popup_menu_cell.mm b/chrome/browser/ui/cocoa/autofill/down_arrow_popup_menu_cell.mm
index 0c8b46b2af141a89e12f9e842f4e5ff39c8713c4..43de6e9d03502b47358fbe07017f878cbc3c86dd 100644
--- a/chrome/browser/ui/cocoa/autofill/down_arrow_popup_menu_cell.mm
+++ b/chrome/browser/ui/cocoa/autofill/down_arrow_popup_menu_cell.mm
@@ -41,10 +41,7 @@ const int kSidePadding = 2.0;
if ([title length])
[self drawTitle:title withFrame:titleRect inView:controlView];
- // Only draw custom focus ring if the 10.7 focus ring APIs are not available.
- // TODO(groby): Remove once we build against the 10.7 SDK.
- if (![self respondsToSelector:@selector(drawFocusRingMaskWithFrame:inView:)])
- [super drawFocusRingWithFrame:cellFrame inView:controlView];
+ [self drawFocusRingWithFrame:cellFrame inView:controlView];
}
@end
« no previous file with comments | « chrome/app/nibs/Toolbar.xib ('k') | chrome/browser/ui/cocoa/extensions/browser_action_button.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698