diff options
author | dharcourt@chromium.org <dharcourt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-16 20:14:13 +0000 |
---|---|---|
committer | dharcourt@chromium.org <dharcourt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-16 20:14:13 +0000 |
commit | c610fbf5402c3414dc76949a88c6118318d4ca3a (patch) | |
tree | 38bccf3f074ed749f166c33e3a252c15292e5af8 /ui/message_center/base_format_view.cc | |
parent | 86f6250a882ed222c3f917fcbb6101f024436dca (diff) | |
download | chromium_src-c610fbf5402c3414dc76949a88c6118318d4ca3a.zip chromium_src-c610fbf5402c3414dc76949a88c6118318d4ca3a.tar.gz chromium_src-c610fbf5402c3414dc76949a88c6118318d4ca3a.tar.bz2 |
Added support for secondary icon to multi-item notification view
TBR=derat@chromium.org for c/b/ui/views/ash/balloon_view_ash.*
BUG=161101
Review URL: https://chromiumcodereview.appspot.com/11474003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/message_center/base_format_view.cc')
-rw-r--r-- | ui/message_center/base_format_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/message_center/base_format_view.cc b/ui/message_center/base_format_view.cc index aff72a1..7bce22c 100644 --- a/ui/message_center/base_format_view.cc +++ b/ui/message_center/base_format_view.cc @@ -46,13 +46,13 @@ void BaseFormatView::SetUpView() { views::ImageView* icon = new views::ImageView; icon->SetImageSize( gfx::Size(kBaseFormatPrimaryIconWidth, kBaseFormatPrimaryIconWidth)); - icon->SetImage(notification_.image); + icon->SetImage(notification_.primary_icon); views::ImageView* second_icon = new views::ImageView; second_icon->SetImageSize( gfx::Size(kBaseFormatSecondaryIconWidth, kBaseFormatSecondaryIconWidth)); // TODO: set up second image - second_icon->SetImage(notification_.image); + second_icon->SetImage(notification_.primary_icon); views::Label* title = new views::Label(notification_.title); title->SetHorizontalAlignment(gfx::ALIGN_LEFT); |