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

Side by Side Diff: chrome/browser/resources/chromeos/login/oobe_update.js

Issue 2392273002: ChromeOS: Implement Update screen of material design OOBE. (Closed)
Patch Set: Update after review. Added new screen name. Created 4 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 /**
6 * @fileoverview Polymer element for displaying material design Update screen.
7 */
8
9 Polymer({
10 is: 'oobe-update-md',
11
12 properties: {
13 /**
14 * Shows "Checking for update ..." section and hides "Updating..." section.
15 */
16 checkingForUpdate: {
17 type: Boolean,
18 value: true,
19 },
20
21 /**
22 * Progress bar percent.
23 */
24 progressValue: {
25 type: Number,
26 value: 0,
27 },
28
29 /**
30 * Message "3 minutes left".
31 */
32 estimatedTimeLeft: {
33 type: String,
34 },
35
36 /**
37 * Shows estimatedTimeLeft.
38 */
39 estimatedTimeLeftShown: {
40 type: Boolean,
41 },
42
43 /**
44 * Message "33 percent done".
45 */
46 progressMessage: {
47 type: String,
48 },
49
50 /**
51 * Shows progressMessage.
52 */
53 progressMessageShown: {
54 type: Boolean,
55 },
56
57 /**
58 * Message above the progress bar.
59 */
60 updateUpperLabel: {
61 type: String,
62 },
63
64 /**
65 * If update cancellation is allowed.
66 */
67 cancelAllowed: {
68 type: Boolean,
69 value: false,
70 },
71 },
72
73 /**
74 * This updates "Cancel Update" message.
75 */
76 setCancelHint: function(message) {
77 this.$.checkingForUpdateCancelHint.textContent = message;
78 this.$.updatingCancelHint.textContent = message;
79 },
80 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698