Add new empty state view to message center

Desktop / Chromium - Tetsui Ohkubo [chromium.org] - 11 October 2017 00:37 EDT

As a part of message center restyling, this CL adds a new view for message center when there are no notifications.

Previously, button bar text "You have no notifications" was used.

Screenshot (before): http://screen/5JCCD7uyxwd Screenshot (after): http://screen/TTtSP0rbj4T Mock: https://crbug.com/726246#c17

TEST=ash_unittests BUG=726246

Change-Id: Id64eb2e1cdaeb29c1477d65b2a79602b00b0896a Reviewed-on: https://chromium-review.googlesource.com/700215

632bc49 Add new empty state view to message center.
ash/ash_strings.grd | 2 +-
ash/message_center/message_center_view.cc | 85 +++++++++++++++++++---
ash/message_center/message_center_view.h | 11 ++-
ash/message_center/message_center_view_unittest.cc | 57 +++++++++++++--
ash/resources/vector_icons/BUILD.gn | 1 +
.../vector_icons/notification_center_all_done.icon | 28 +++++++
6 files changed, 163 insertions(+), 21 deletions(-)

Upstream: git.chromium.org


  • Share