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

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

Issue 1980753002: Move close button to MessageView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use-messageview
Patch Set: move CreateOrUpdateCloseButtonView Created 4 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
« no previous file with comments | « ui/message_center/views/notification_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/notification_view_unittest.cc
diff --git a/ui/message_center/views/notification_view_unittest.cc b/ui/message_center/views/notification_view_unittest.cc
index 053feeca09c2fd3ceede886353f08880de06ba9c..d4315c8b53a0fe9fb8fe68b4b215929312f340c3 100644
--- a/ui/message_center/views/notification_view_unittest.cc
+++ b/ui/message_center/views/notification_view_unittest.cc
@@ -179,12 +179,11 @@ class NotificationViewTest : public views::ViewsTestBase,
}
views::ImageButton* GetCloseButton() {
- return notification_view()->close_button_.get();
+ return notification_view()->close_button();
}
void UpdateNotificationViews() {
- notification_view()->CreateOrUpdateViews(*notification());
- notification_view()->Layout();
+ notification_view()->UpdateWithNotification(*notification());
}
float GetNotificationScrollAmount() const {
« no previous file with comments | « ui/message_center/views/notification_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698