Commit 2325e589 authored by sadrul@chromium.org's avatar sadrul@chromium.org

athena: Some more UI adjustments to the title bar.

. Change the text color.
. Change the default background color.
. Make the fonts normal.
. Add a 1px border at the bottom.

BUG=401569
R=mukai@chromium.org

Review URL: https://codereview.chromium.org/471503003

Cr-Commit-Position: refs/heads/master@{#289348}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289348 0039d316-1c4b-4281-b951-d872f2087c98
parent de79df2d
......@@ -10,6 +10,7 @@
#include "athena/activity/public/activity_view_model.h"
#include "ui/base/hit_test.h"
#include "ui/views/background.h"
#include "ui/views/border.h"
#include "ui/views/controls/label.h"
#include "ui/views/view.h"
#include "ui/views/widget/widget.h"
......@@ -27,9 +28,9 @@ ActivityFrameView::ActivityFrameView(views::Widget* frame,
ActivityViewModel* view_model)
: frame_(frame), view_model_(view_model), title_(new views::Label) {
title_->SetHorizontalAlignment(gfx::ALIGN_CENTER);
const gfx::FontList& font_list = title_->font_list();
title_->SetFontList(font_list.Derive(1, gfx::Font::BOLD));
title_->SetEnabledColor(SK_ColorBLACK);
title_->SetEnabledColor(SkColorSetA(SK_ColorBLACK, 0xe5));
title_->SetBorder(views::Border::CreateSolidSidedBorder(0, 0, 1, 0,
SkColorSetA(SK_ColorGRAY, 0x7f)));
AddChildView(title_);
UpdateWindowTitle();
}
......
......@@ -121,7 +121,7 @@ class WebActivityController : public AcceleratorHandler {
DISALLOW_COPY_AND_ASSIGN(WebActivityController);
};
const SkColor kDefaultTitleColor = SK_ColorGRAY;
const SkColor kDefaultTitleColor = SkColorSetRGB(0xf2, 0xf2, 0xf2);
const SkColor kDefaultUnavailableColor = SkColorSetRGB(0xbb, 0x77, 0x77);
} // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment