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

Unified Diff: ui/message_center/views/notification_view.cc

Issue 305633004: Puts notification buttons back below the image (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improved the test. Created 6 years, 7 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: ui/message_center/views/notification_view.cc
diff --git a/ui/message_center/views/notification_view.cc b/ui/message_center/views/notification_view.cc
index 707c42bec112c228265ec7ea2c85d83c187200e3..1342bcb386b4879a6e9373519826c024e1f3d620 100644
--- a/ui/message_center/views/notification_view.cc
+++ b/ui/message_center/views/notification_view.cc
@@ -694,7 +694,7 @@ void NotificationView::CreateOrUpdateImageView(
gfx::Size image_size(kNotificationPreferredImageWidth,
kNotificationPreferredImageHeight);
image_view_ = MakeNotificationImage(notification.image(), image_size);
- bottom_view_->AddChildView(image_view_);
+ bottom_view_->AddChildViewAt(image_view_, 0);
}
}

Powered by Google App Engine
This is Rietveld 408576698