Index: ui/app_list/views/search_box_view.cc |
diff --git a/ui/app_list/views/search_box_view.cc b/ui/app_list/views/search_box_view.cc |
index f69ebf6abbea7736171db0100ed7abbcef6a50e6..b77ee6665323aa8097c6e60541d0bc7fc234c6cc 100644 |
--- a/ui/app_list/views/search_box_view.cc |
+++ b/ui/app_list/views/search_box_view.cc |
@@ -45,9 +45,10 @@ const int kMenuXOffsetFromButton = -7; |
const int kExperimentalSearchBoxHeight = 37; |
const int kBackgroundBorderWidth = 1; |
-const int kBackgroundBorderBottomWidth = 2; |
+const int kBackgroundBorderBottomWidth = 1; |
const int kBackgroundBorderCornerRadius = 2; |
const SkColor kBackgroundBorderColor = SkColorSetRGB(0xEE, 0xEE, 0xEE); |
+const SkColor kBackgroundBorderBottomColor = SkColorSetRGB(0xCC, 0xCC, 0xCC); |
// A background that paints a solid white rounded rect with a thin grey border. |
class SearchBoxBackground : public views::Background { |
@@ -67,7 +68,10 @@ class SearchBoxBackground : public views::Background { |
bounds.Inset(kBackgroundBorderWidth, |
kBackgroundBorderWidth, |
kBackgroundBorderWidth, |
- kBackgroundBorderBottomWidth); |
+ 0); |
+ paint.setColor(kBackgroundBorderBottomColor); |
+ canvas->DrawRoundRect(bounds, kBackgroundBorderCornerRadius, paint); |
+ bounds.Inset(0, 0, 0, kBackgroundBorderBottomWidth); |
paint.setColor(SK_ColorWHITE); |
canvas->DrawRoundRect(bounds, kBackgroundBorderCornerRadius, paint); |
} |