diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-10 18:27:12 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-10 18:27:12 +0000 |
commit | 2b1bed8c9b2baf7ec7766e1ce046b9479326d179 (patch) | |
tree | ecc836ba688887bbee4f4622a89992b4d9629d12 | |
parent | bb2d4f889359d68e27d0091f795003bd5578362b (diff) | |
download | chromium_src-2b1bed8c9b2baf7ec7766e1ce046b9479326d179.zip chromium_src-2b1bed8c9b2baf7ec7766e1ce046b9479326d179.tar.gz chromium_src-2b1bed8c9b2baf7ec7766e1ce046b9479326d179.tar.bz2 |
Get rid of the transparent line at the top of the nano tabs.
BUG=42154
TEST=Visual inspection. Make sure you have a dark background below the Chrome window to see the transparency.
Review URL: http://codereview.chromium.org/2008006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46833 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/views/tabs/tab_renderer.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/views/tabs/tab_renderer.cc b/chrome/browser/views/tabs/tab_renderer.cc index f2b5289..a48e33e 100644 --- a/chrome/browser/views/tabs/tab_renderer.cc +++ b/chrome/browser/views/tabs/tab_renderer.cc @@ -1060,17 +1060,17 @@ void TabRenderer::LoadTabImages() { tab_active.l_width = tab_active.image_l->width(); tab_active.r_width = tab_active.image_r->width(); - // The regular tab is high much taller *visually* than the nano tabs. + // The regular tab is much taller *visually* than the nano tabs. // The images are the same height, this is really just the difference // in whitespace above the tab image (regular vs nano). - const int kMiniTabDiffHeight = 14; + const int kNanoTabDiffHeight = 13; tab_active_nano.image_l = rb.GetBitmapNamed(IDR_TAB_ACTIVE_NANO_LEFT); tab_active_nano.image_c = rb.GetBitmapNamed(IDR_TAB_ACTIVE_NANO_CENTER); tab_active_nano.image_r = rb.GetBitmapNamed(IDR_TAB_ACTIVE_NANO_RIGHT); tab_active_nano.l_width = tab_active_nano.image_l->width(); tab_active_nano.r_width = tab_active_nano.image_r->width(); - tab_active_nano.y_offset = kMiniTabDiffHeight; + tab_active_nano.y_offset = kNanoTabDiffHeight; tab_inactive.image_l = rb.GetBitmapNamed(IDR_TAB_INACTIVE_LEFT); tab_inactive.image_c = rb.GetBitmapNamed(IDR_TAB_INACTIVE_CENTER); @@ -1083,7 +1083,7 @@ void TabRenderer::LoadTabImages() { tab_inactive_nano.image_r = rb.GetBitmapNamed(IDR_TAB_INACTIVE_NANO_RIGHT); tab_inactive_nano.l_width = tab_inactive_nano.image_l->width(); tab_inactive_nano.r_width = tab_inactive_nano.image_r->width(); - tab_inactive_nano.y_offset = kMiniTabDiffHeight; + tab_inactive_nano.y_offset = kNanoTabDiffHeight; loading_animation_frames = rb.GetBitmapNamed(IDR_THROBBER); waiting_animation_frames = rb.GetBitmapNamed(IDR_THROBBER_WAITING); |