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

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

Issue 138943002: [rAC, OSX] Adjust red outline for NSPopUpButtons (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | chrome/browser/ui/cocoa/autofill/autofill_section_container.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/autofill/autofill_pop_up_button.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_pop_up_button.mm b/chrome/browser/ui/cocoa/autofill/autofill_pop_up_button.mm
index bdfcd80d754fef12497b464b617ac4ef6f908b17..99fd68b2cc8062ad967e189611b21ecb7342c23a 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_pop_up_button.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_pop_up_button.mm
@@ -91,9 +91,9 @@
NSBezierPath* path = [NSBezierPath
bezierPathWithRoundedRect:
NSOffsetRect(
- NSInsetRect(NSIntegralRect(frame), 3.5, 3.5), -1.0, -1.0)
- xRadius:4.0
- yRadius:4.0];
+ NSInsetRect(frame, 3.0, 3.5), -.5, -1.0)
Robert Sesek 2014/01/14 22:52:17 nit: join with previous line?
Robert Sesek 2014/01/14 22:52:17 Why remove NSIntegralRect?
groby-ooo-7-16 2014/01/14 23:14:55 Because the two other NSIntegral rects guarantee w
groby-ooo-7-16 2014/01/14 23:14:55 Done. Actually, pulled out the rect computation fo
Robert Sesek 2014/01/14 23:18:37 That's what I thought, just wanted to make sure.
+ xRadius:3.5
+ yRadius:3.5];
[path setLineWidth:0];
[[NSColor redColor] setStroke];
[path stroke];
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/autofill_section_container.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698