1 <link rel=
"import" href=
"chrome://resources/polymer/polymer/polymer.html">
2 <link rel=
"import" href=
"chrome://resources/polymer/paper-progress/paper-progress.html">
5 Progress bar for the cases when the length of the task is unknown.
6 Displays a cyclic animation without an indication of progress.
9 * rate - [1 - 10]. Sets the animation's rate.
11 * runnerPortion - [1 - 100]. Portion of runner's width relative to progress
12 bar width (in percents).
14 TODO(dzhioev): Polymer doesn't provide an indeterminate mode for
15 <paper-progress> for now, but it will soon. So this element should be replaced
16 with <paper-progress> when it'll have an indeterminate mode.
17 http://crbug.com/423363
20 <polymer-element name=
"indeterminate-progress"
21 attributes=
"backgroundColor rate runnerColor runnerPortion">
35 paper-progress::shadow #secondaryProgress {
36 background-color: {{runnerColor}};
39 paper-progress::shadow #activeProgress,
40 paper-progress::shadow #progressContainer {
41 background-color: {{backgroundColor}};
45 <paper-progress id=
"progress" value=
"{{primaryProgress}}"
46 secondaryProgress=
"{{secondaryProgress}}"></paper-progress>