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

Unified Diff: ash/frame/default_header_painter.cc

Issue 441803004: Introduce new WebApp header style for hosted apps and fizzy apps on ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Feedback 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
Index: ash/frame/default_header_painter.cc
diff --git a/ash/frame/default_header_painter.cc b/ash/frame/default_header_painter.cc
index fd31d776e91913c78bc0c304370793280d4db70e..6b6553ffdfa315cc0202571c4bfad11ed9c8d349 100644
--- a/ash/frame/default_header_painter.cc
+++ b/ash/frame/default_header_painter.cc
@@ -319,7 +319,11 @@ gfx::Rect DefaultHeaderPainter::GetLocalBounds() const {
gfx::Rect DefaultHeaderPainter::GetTitleBounds() const {
return HeaderPainterUtil::GetTitleBounds(
- window_icon_, caption_button_container_, GetTitleFontList());
+ GetViewToLeftOfTitle(), caption_button_container_, GetTitleFontList());
+}
+
+views::View* DefaultHeaderPainter::GetViewToLeftOfTitle() const {
+ return window_icon_;
}
gfx::ImageSkia* DefaultHeaderPainter::GetActiveFrameImage() const {

Powered by Google App Engine
This is Rietveld 408576698