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

Unified Diff: chrome/browser/views/bookmark_bar_view.cc

Issue 204026: Unified the color definitions for the dividers so that extension shelf is usi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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/views/detachable_toolbar_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/bookmark_bar_view.cc
===================================================================
--- chrome/browser/views/bookmark_bar_view.cc (revision 26227)
+++ chrome/browser/views/bookmark_bar_view.cc (working copy)
@@ -77,9 +77,6 @@
// Icon used for folders.
static SkBitmap* kFolderIcon = NULL;
-// Border colors for the BookmarBarView.
-static const SkColor kTopBorderColor = SkColorSetRGB(222, 234, 248);
-
// Offset for where the menu is shown relative to the bottom of the
// BookmarkBarView.
static const int kMenuOffset = 3;
@@ -104,10 +101,6 @@
// Starting x-coordinate of the separator line within a separator.
static const int kSeparatorStartX = 2;
-// Border color along the left edge of the view representing the most recently
-// view pages.
-static const SkColor kSeparatorColor = SkColorSetRGB(194, 205, 212);
-
// Left-padding for the instructional text.
static const int kInstructionsPadding = 6;
@@ -295,8 +288,9 @@
virtual void Paint(gfx::Canvas* canvas) {
DetachableToolbarView::PaintVerticalDivider(
- canvas, kSeparatorStartX, height(), 1, kTopBorderColor,
- kSeparatorColor,
+ canvas, kSeparatorStartX, height(), 1,
+ DetachableToolbarView::kEdgeDividerColor,
+ DetachableToolbarView::kMiddleDividerColor,
GetThemeProvider()->GetColor(BrowserThemeProvider::COLOR_TOOLBAR));
}
« no previous file with comments | « no previous file | chrome/browser/views/detachable_toolbar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698