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

Unified Diff: chrome/browser/ui/cocoa/styled_text_field.mm

Issue 6598005: Fix extra focus glow for the omnibox on Mac OS X Lion.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/styled_text_field.mm
===================================================================
--- chrome/browser/ui/cocoa/styled_text_field.mm (revision 75887)
+++ chrome/browser/ui/cocoa/styled_text_field.mm (working copy)
@@ -58,4 +58,10 @@
const NSRect bounds([self bounds]);
return NSWidth(bounds) - size.width;
}
+
+- (NSFocusRingType)focusRingType {
+ // This is taken care of by the custom drawing code in the cell.
+ return NSFocusRingTypeNone;
+}
+
@end
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698