Skip to content

Commit f74a6a1

Browse files
author
Alexander Alekseev
committed
Chrome OS Powerwash screen: update icon and illustration.
[email protected] (cherry picked from commit afc97ac) Bug: 894280 Change-Id: I0d478790d35323008a0622404ebde6983fea06ae Reviewed-on: https://chromium-review.googlesource.com/c/1278211 Commit-Queue: Alexander Alekseev <[email protected]> Reviewed-by: Wenzhao (Colin) Zang <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#599141} Reviewed-on: https://chromium-review.googlesource.com/c/1287509 Reviewed-by: Alexander Alekseev <[email protected]> Cr-Commit-Position: refs/branch-heads/3578@{#109} Cr-Branched-From: 4226ddf-refs/heads/master@{#599034}
1 parent 3252a5c commit f74a6a1

File tree

6 files changed

+49
-4
lines changed

6 files changed

+49
-4
lines changed
Lines changed: 14 additions & 0 deletions
Loading
Lines changed: 14 additions & 0 deletions
Loading
Binary file not shown.
Binary file not shown.

chrome/browser/resources/chromeos/login/oobe_reset.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,8 @@ a {
3939
cursor: pointer;
4040
pointer-events: auto;
4141
}
42+
43+
#illustration {
44+
height: 264px;
45+
width: 264px;
46+
}

chrome/browser/resources/chromeos/login/oobe_reset.html

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@
1010
<svg>
1111
<defs>
1212
<g id="alert" fill-rule="evenodd">
13-
<path d="M16,2.66666667 C8.64,2.66666667 2.66666667,8.64 2.66666667,16 C2.66666667,23.36 8.64,29.3333333 16,29.3333333 C23.36,29.3333333 29.3333333,23.36 29.3333333,16 C29.3333333,8.64 23.36,2.66666667 16,2.66666667 L16,2.66666667 Z M17.3333333,22.6666667 L14.6666667,22.6666667 L14.6666667,20 L17.3333333,20 L17.3333333,22.6666667 L17.3333333,22.6666667 Z M17.3333333,17.3333333 L14.6666667,17.3333333 L14.6666667,9.33333333 L17.3333333,9.33333333 L17.3333333,17.3333333 L17.3333333,17.3333333 Z"></path>
13+
<defs>
14+
<path id="a" d="M14.667 20h2.666v2.667h-2.666V20zm0-10.667h2.666v8h-2.666v-8zm1.32-6.666C8.627 2.667 2.667 8.64 2.667 16s5.96 13.333 13.32 13.333c7.373 0 13.346-5.973 13.346-13.333S23.36 2.667 15.987 2.667zm.013 24c-5.893 0-10.667-4.774-10.667-10.667S10.107 5.333 16 5.333 26.667 10.107 26.667 16 21.893 26.667 16 26.667z"></path>
15+
</defs>
16+
<g fill="none" fill-rule="evenodd">
17+
<path d="M0 0h32v32H0z"></path>
18+
<use fill="#1A73E8" fill-rule="nonzero" xlink:href="#a"></use>
19+
</g>
1420
</g>
1521
</defs>
1622
</svg>
@@ -20,7 +26,13 @@
2026
<svg>
2127
<defs>
2228
<g id="alert" fill-rule="evenodd">
23-
<path d="M32,5.33333333 C17.28,5.33333333 5.33333333,17.28 5.33333333,32 C5.33333333,46.72 17.28,58.6666667 32,58.6666667 C46.72,58.6666667 58.6666667,46.72 58.6666667,32 C58.6666667,17.28 46.72,5.33333333 32,5.33333333 L32,5.33333333 Z M34.6666667,45.3333333 L29.3333333,45.3333333 L29.3333333,40 L34.6666667,40 L34.6666667,45.3333333 L34.6666667,45.3333333 Z M34.6666667,34.6666667 L29.3333333,34.6666667 L29.3333333,18.6666667 L34.6666667,18.6666667 L34.6666667,34.6666667 L34.6666667,34.6666667 Z"></path>
29+
<defs>
30+
<path id="a" d="M29.333 40h5.334v5.333h-5.334V40zm0-21.333h5.334v16h-5.334v-16zm2.64-13.334C17.253 5.333 5.333 17.28 5.333 32c0 14.72 11.92 26.667 26.64 26.667C46.72 58.667 58.667 46.72 58.667 32c0-14.72-11.947-26.667-26.694-26.667zm.027 48c-11.787 0-21.333-9.546-21.333-21.333 0-11.787 9.546-21.333 21.333-21.333 11.787 0 21.333 9.546 21.333 21.333 0 11.787-9.546 21.333-21.333 21.333z"></path>
31+
</defs>
32+
<g fill="none" fill-rule="evenodd">
33+
<path d="M0 0h64v64H0z"></path>
34+
<use fill="#1A73E8" fill-rule="nonzero" xlink:href="#a"></use>
35+
</g>
2436
</g>
2537
</defs>
2638
</svg>
@@ -60,8 +72,8 @@ <h1 slot="title" i18n-content="resetWarningTitle"></h1>
6072
</div>
6173
</div>
6274
<div slot="footer" class="flex layout vertical center">
63-
<img srcset="images/reset_illustration_1x.png 1x,
64-
images/reset_illustration_2x.png 2x"
75+
<img id="illustration" srcset="images/1x/reset_illustration_1x.svg 1x,
76+
images/2x/reset_illustration_2x.svg 2x"
6577
i18n-values="alt:resetScreenIllustrationTitle">
6678
<div id="tpmFirmwareUpdate" class="layout horizontal"
6779
hidden="[[!tpmFirmwareUpdateAvailable_]]">

0 commit comments

Comments
 (0)