forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new empty state view to message center.
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 Reviewed-by: Yoshiki Iguchi <yoshiki@chromium.org> Reviewed-by: Mitsuru Oshima <oshima@chromium.org> Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org> Cr-Commit-Position: refs/heads/master@{#507889}
- Loading branch information
Tetsui Ohkubo
authored and
Commit Bot
committed
Oct 11, 2017
1 parent
1009aff
commit 632bc49
Showing
6 changed files
with
163 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
ash/resources/vector_icons/notification_center_all_done.icon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Copyright 2017 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
CANVAS_DIMENSIONS, 48, | ||
MOVE_TO, 33.28f, 6.28f, | ||
LINE_TO, 30.28f, 9.28f, | ||
CUBIC_TO, 28.35f, 8.46f, 26.23f, 8, 24, 8, | ||
CUBIC_TO, 15.16f, 8, 8, 15.16f, 8, 24, | ||
R_CUBIC_TO, 0, 8.84f, 7.16f, 16, 16, 16, | ||
R_CUBIC_TO, 8.84f, 0, 16, -7.16f, 16, -16, | ||
R_CUBIC_TO, 0, -0.58f, -0.03f, -1.16f, -0.09f, -1.72f, | ||
R_LINE_TO, 3.42f, -3.42f, | ||
R_CUBIC_TO, 0.44f, 1.64f, 0.67f, 3.37f, 0.67f, 5.15f, | ||
R_CUBIC_TO, 0, 11.04f, -8.96f, 20, -20, 20, | ||
CUBIC_TO_SHORTHAND, 4, 35.04f, 4, 24, | ||
CUBIC_TO_SHORTHAND, 12.96f, 4, 24, 4, | ||
R_CUBIC_TO, 3.35f, 0, 6.5f, 0.82f, 9.28f, 2.28f, | ||
CLOSE, | ||
R_MOVE_TO, 7.9f, 0.88f, | ||
LINE_TO, 44, 10, | ||
LINE_TO, 22, 32, | ||
LINE_TO, 12, 22, | ||
R_LINE_TO, 2.82f, -2.82f, | ||
LINE_TO, 22, 26.34f, | ||
LINE_TO, 41.18f, 7.16f, | ||
CLOSE, | ||
END |