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

Unified Diff: chrome/browser/resources/chromeos/login/indeterminate-progress.html

Issue 1179323005: Polymer upgraded to 1.0 in login flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@polymer_pre_migration
Patch Set: Comments addressed. Created 5 years, 6 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: chrome/browser/resources/chromeos/login/indeterminate-progress.html
diff --git a/chrome/browser/resources/chromeos/login/indeterminate-progress.html b/chrome/browser/resources/chromeos/login/indeterminate-progress.html
deleted file mode 100644
index b5f52b2cdb74bca3bc7b8a2e1048560ef9b033dd..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/chromeos/login/indeterminate-progress.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<link rel="import" href="chrome://resources/polymer/polymer/polymer.html">
-<link rel="import" href="chrome://resources/polymer/paper-progress/paper-progress.html">
-
-<!--
-Progress bar for the cases when the length of the task is unknown.
-Displays a cyclic animation without an indication of progress.
-Published properties:
- * backgroundColor
- * rate - [1 - 10]. Sets the animation's rate.
- * runnerColor
- * runnerPortion - [1 - 100]. Portion of runner's width relative to progress
- bar width (in percents).
-
-TODO(dzhioev): Polymer doesn't provide an indeterminate mode for
-<paper-progress> for now, but it will soon. So this element should be replaced
-with <paper-progress> when it'll have an indeterminate mode.
-http://crbug.com/423363
--->
-
-<polymer-element name="indeterminate-progress"
- attributes="backgroundColor rate runnerColor runnerPortion">
- <template>
- <style>
- :host {
- display: block;
- height: 4px;
- }
-
- paper-progress {
- display: block;
- width: 100%;
- height: 100%;
- }
-
- paper-progress::shadow #secondaryProgress {
- background-color: {{runnerColor}};
- }
-
- paper-progress::shadow #activeProgress,
- paper-progress::shadow #progressContainer {
- background-color: {{backgroundColor}};
- }
- </style>
-
- <paper-progress id="progress" value="{{primaryProgress}}"
- secondaryProgress="{{secondaryProgress}}"></paper-progress>
- </template>
-</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698