diff options
Diffstat (limited to 'chrome/browser/ui/cocoa')
5 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/ui/cocoa/download/download_item_cell.mm b/chrome/browser/ui/cocoa/download/download_item_cell.mm index 46a74c9..e5100a0 100644 --- a/chrome/browser/ui/cocoa/download/download_item_cell.mm +++ b/chrome/browser/ui/cocoa/download/download_item_cell.mm @@ -421,7 +421,7 @@ using content::DownloadItem; NSRect drawFrame = NSInsetRect(cellFrame, 1.5, 1.5); NSRect innerFrame = NSInsetRect(cellFrame, 2, 2); - const float radius = 5; + const float radius = 3; NSWindow* window = [controlView window]; BOOL active = [window isKeyWindow] || [window isMainWindow]; diff --git a/chrome/browser/ui/cocoa/download/download_show_all_cell.mm b/chrome/browser/ui/cocoa/download/download_show_all_cell.mm index 85ceb5d..626529e 100644 --- a/chrome/browser/ui/cocoa/download/download_show_all_cell.mm +++ b/chrome/browser/ui/cocoa/download/download_show_all_cell.mm @@ -102,7 +102,7 @@ const CGFloat kOuterStrokeWidth = 1; NSRect drawFrame = NSInsetRect(cellFrame, 1.5, 1.5); NSRect innerFrame = NSInsetRect(cellFrame, 2, 2); - const float radius = 5; + const float radius = 3; NSWindow* window = [controlView window]; BOOL active = [window isKeyWindow] || [window isMainWindow]; diff --git a/chrome/browser/ui/cocoa/gradient_button_cell.mm b/chrome/browser/ui/cocoa/gradient_button_cell.mm index f16c133..8fb2bdb 100644 --- a/chrome/browser/ui/cocoa/gradient_button_cell.mm +++ b/chrome/browser/ui/cocoa/gradient_button_cell.mm @@ -464,7 +464,7 @@ static const NSTimeInterval kAnimationContinuousCycleDuration = 0.4; // is complete. NSRect drawFrame = NSInsetRect(cellFrame, 1.5 * lineWidth, 1.5 * lineWidth); NSRect innerFrame = NSInsetRect(cellFrame, lineWidth, lineWidth); - const CGFloat radius = 3.5; + const CGFloat radius = 3; ButtonType type = [[(NSControl*)controlView cell] tag]; switch (type) { diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm index d3cbe04..45a1e6a 100644 --- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm +++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm @@ -22,7 +22,7 @@ namespace { const CGFloat kBaselineAdjust = 3.0; // Matches the clipping radius of |GradientButtonCell|. -const CGFloat kCornerRadius = 4.0; +const CGFloat kCornerRadius = 3.0; // How far to inset the left-hand decorations from the field's bounds. const CGFloat kLeftDecorationXOffset = 5.0; diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm index a38f728..a6cfa6c 100644 --- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm +++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm @@ -32,7 +32,7 @@ const int kCellHeightAdjust = 6.0; // How to round off the popup's corners. Goal is to match star and go // buttons. -const CGFloat kPopupRoundingRadius = 3.5; +const CGFloat kPopupRoundingRadius = 3; // Gap between the field and the popup. const CGFloat kPopupFieldGap = 2.0; |