summaryrefslogtreecommitdiffstats
path: root/chrome/browser/xp_frame.cc
diff options
context:
space:
mode:
authorglen@google.com <glen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-02 00:44:22 +0000
committerglen@google.com <glen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-02 00:44:22 +0000
commit9e43dae7106b6064ebc6580fe111568f1cbdd393 (patch)
tree73faf29f3fdf1f0ab786f90880c44b8f3e6cf7fe /chrome/browser/xp_frame.cc
parent84b57846bc0e40d830cc4fc4fb429b1990ad2442 (diff)
downloadchromium_src-9e43dae7106b6064ebc6580fe111568f1cbdd393.zip
chromium_src-9e43dae7106b6064ebc6580fe111568f1cbdd393.tar.gz
chromium_src-9e43dae7106b6064ebc6580fe111568f1cbdd393.tar.bz2
Make our distributor logo light on XP (and leave it dark on Vista).
Also conveniently fixes accessibility test 'failures' introduced by the last distributor logo change. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/xp_frame.cc')
-rw-r--r--chrome/browser/xp_frame.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/xp_frame.cc b/chrome/browser/xp_frame.cc
index 22f132f..94a59a1 100644
--- a/chrome/browser/xp_frame.cc
+++ b/chrome/browser/xp_frame.cc
@@ -83,7 +83,7 @@ static const int kToolbarOverlapVertOffset = 3;
static const int kTabShadowSize = 2;
static const int kDistributorLogoHorizontalOffset = 7;
-static const int kDistributorLogoVerticalOffset = 4;
+static const int kDistributorLogoVerticalOffset = 3;
// Size of a corner. We use this when drawing a black background in maximized
// mode
@@ -462,7 +462,7 @@ void XPFrame::Init() {
distributor_logo_ = new ChromeViews::ImageView();
frame_view_->AddViewToDropList(distributor_logo_);
- distributor_logo_->SetImage(rb.GetBitmapNamed(IDR_DISTRIBUTOR_LOGO));
+ distributor_logo_->SetImage(rb.GetBitmapNamed(IDR_DISTRIBUTOR_LOGO_LIGHT));
frame_view_->AddChildView(distributor_logo_);
min_button_ = new ChromeViews::Button();