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

Unified Diff: athena/activity/activity_frame_view.cc

Issue 455773003: athena: Show the theme-color in the title strip, and fix the height. (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.h » ('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 dac849986eba6e865f5e2a0cb8836e89d242d5eb..3f1260b2cb18aea2eea12e5152ec2897eae23f0e 100644
--- a/athena/activity/activity_frame_view.cc
+++ b/athena/activity/activity_frame_view.cc
@@ -96,7 +96,8 @@ void ActivityFrameView::Layout() {
// ActivityFrameView, private:
int ActivityFrameView::NonClientTopBorderHeight() const {
- return frame_->IsFullscreen() ? 0 : title_->GetPreferredSize().height();
+ const int kDefaultTitleHeight = 25;
+ return frame_->IsFullscreen() ? 0 : kDefaultTitleHeight;
}
} // namespace ash
« no previous file with comments | « no previous file | athena/content/web_activity.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698