OLD | NEW |
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 var test_time_ms = 60 * 60 * 1000; | 5 // Convert seconds to milliseconds |
6 var test_startup_delay = 5 * 1000; | 6 function seconds(s) { |
| 7 return s * 1000; |
| 8 } |
| 9 |
| 10 // Convert minutes to milliseconds |
| 11 function minutes(m) { |
| 12 return seconds(m * 60); |
| 13 } |
| 14 |
| 15 var test_time_ms = minutes(60); |
| 16 var test_startup_delay = seconds(5); |
7 var should_scroll = true; | 17 var should_scroll = true; |
8 var should_scroll_up = true; | 18 var should_scroll_up = true; |
9 var scroll_loop = false; | 19 var scroll_loop = false; |
10 var scroll_interval_ms = 1000; | 20 var scroll_interval_ms = 1000; |
11 var scroll_by_pixels = 600; | 21 var scroll_by_pixels = 600; |
OLD | NEW |