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

Unified Diff: athena/home/athena_start_page_view.cc

Issue 515723003: Shows the static logo image in athena home card. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 | « athena/home/app_list_view_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/home/athena_start_page_view.cc
diff --git a/athena/home/athena_start_page_view.cc b/athena/home/athena_start_page_view.cc
index 1ab634626873e6a83815ee20c011119df1d77582..f15e46b4b5b42eb2576eef78e26bf4839b93c2fb 100644
--- a/athena/home/athena_start_page_view.cc
+++ b/athena/home/athena_start_page_view.cc
@@ -171,7 +171,8 @@ AthenaStartPageView::AthenaStartPageView(
logo_ = view_delegate->CreateStartPageWebView(
gfx::Size(kWebViewWidth, kWebViewHeight));
logo_->SetPaintToLayer(true);
- logo_->SetSize(logo_->GetPreferredSize());
+ logo_->SetFillsBoundsOpaquely(false);
+ logo_->SetSize(gfx::Size(kWebViewWidth, kWebViewHeight));
AddChildView(logo_);
search_results_view_ = new app_list::SearchResultListView(
« no previous file with comments | « athena/home/app_list_view_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698