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

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

Issue 2589163003: Add shadow/corner radius to notifications (toasts and in-center). (Closed)
Patch Set: . Created 3 years, 11 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/message_view_factory.cc
diff --git a/ui/message_center/views/message_view_factory.cc b/ui/message_center/views/message_view_factory.cc
index 6f7da82b100f9444c8b1e97df52429ac1141767a..c09982a8f2735ef88d69fdff8e168e61aadfe02f 100644
--- a/ui/message_center/views/message_view_factory.cc
+++ b/ui/message_center/views/message_view_factory.cc
@@ -43,8 +43,8 @@ MessageView* MessageViewFactory::Create(MessageCenterController* controller,
notification_view = new NotificationView(controller, notification);
}
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
- // Don't create shadows for notification toasts on linux wih aura.
+#if defined(OS_LINUX)
+ // Don't create shadows for notification toasts on Linux or CrOS.
if (top_level)
return notification_view;
#endif

Powered by Google App Engine
This is Rietveld 408576698