Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
index c631e6b9e86a220f5a089e0fdddbbd0ee408df47..e1c5bc0d0200636cc4b0c85343cb6034af9c68d0 100644 |
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
@@ -106,6 +106,12 @@ static const int kNewTabHorizontalPadding = 2; |
// Maximum size of buttons on the bookmark bar. |
static const int kMaxButtonWidth = 150; |
+// The color gradient start value close to the edge of the divider. |
+static const SkColor kEdgeDividerColor = SkColorSetRGB(222, 234, 248); |
+ |
+// The color gradient value for the middle of the divider. |
+static const SkColor kMiddleDividerColor = SkColorSetRGB(194, 205, 212); |
+ |
// Number of pixels the attached bookmark bar overlaps with the toolbar. |
static const int kToolbarAttachedBookmarkBarOverlap = 3; |
@@ -421,9 +427,12 @@ class BookmarkBarView::ButtonSeparatorView : public views::View { |
void OnPaint(gfx::Canvas* canvas) override { |
DetachableToolbarView::PaintVerticalDivider( |
- canvas, kSeparatorStartX, height(), 1, |
- DetachableToolbarView::kEdgeDividerColor, |
- DetachableToolbarView::kMiddleDividerColor, |
+ canvas, |
+ kSeparatorStartX, |
+ height(), |
+ 1, |
+ kEdgeDividerColor, |
+ kMiddleDividerColor, |
GetThemeProvider()->GetColor(ThemeProperties::COLOR_TOOLBAR)); |
} |