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

Unified Diff: athena/activity/activity_frame_view.cc

Issue 471503003: athena: Some more UI adjustments to the title bar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | athena/content/web_activity.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/activity/activity_frame_view.cc
diff --git a/athena/activity/activity_frame_view.cc b/athena/activity/activity_frame_view.cc
index ca2e8be6036ce1227f10e624f5d42f3061236d5a..60f29c873276034da0a3ee652f32829b62a9cf0c 100644
--- a/athena/activity/activity_frame_view.cc
+++ b/athena/activity/activity_frame_view.cc
@@ -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();
}
« no previous file with comments | « no previous file | athena/content/web_activity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698