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

Unified Diff: chrome/browser/cocoa/autocomplete_text_field_cell.mm

Issue 178007: [Mac] Tweaks to Omnibox metrics. (Closed)
Patch Set: Oops, fixed unit test. Created 11 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
Index: chrome/browser/cocoa/autocomplete_text_field_cell.mm
diff --git a/chrome/browser/cocoa/autocomplete_text_field_cell.mm b/chrome/browser/cocoa/autocomplete_text_field_cell.mm
index b52d9d86445a2821565dbbe05a28c8ee16289ba9..d4ef0fe101edd57c19712f107f10c18f80823495 100644
--- a/chrome/browser/cocoa/autocomplete_text_field_cell.mm
+++ b/chrome/browser/cocoa/autocomplete_text_field_cell.mm
@@ -161,6 +161,8 @@ const NSInteger kBaselineOffset = 4;
[[NSColor colorWithCalibratedWhite:1.0 alpha:0.25] set];
NSFrameRectWithWidthUsingOperation(cellFrame, 1, NSCompositeSourceOver);
+ // TODO(shess): This inset is also reflected in ToolbarController
+ // -autocompletePopupPosition.
NSRect frame = NSInsetRect(cellFrame, 0, 1);
[[self backgroundColor] setFill];
NSRect innerFrame = NSInsetRect(frame, 1, 1);
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_popup_view_mac.mm ('k') | chrome/browser/cocoa/toolbar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698