OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2014 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2014 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <link rel="import" href="/tracing/base/base.html"> | 8 <link rel="import" href="/tracing/base/base.html"> |
9 <link rel="import" href="/tracing/base/iteration_helpers.html"> | |
10 <link rel="import" href="/tracing/base/math/math.html"> | 9 <link rel="import" href="/tracing/base/math/math.html"> |
| 10 <link rel="import" href="/tracing/base/utils.html"> |
11 | 11 |
12 <script> | 12 <script> |
13 'use strict'; | 13 'use strict'; |
14 | 14 |
15 /** | 15 /** |
16 * @fileoverview Quick range computations. | 16 * @fileoverview Quick range computations. |
17 */ | 17 */ |
18 tr.exportTo('tr.b.math', function() { | 18 tr.exportTo('tr.b.math', function() { |
19 function Range() { | 19 function Range() { |
20 this.isEmpty_ = true; | 20 this.isEmpty_ = true; |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 }; | 316 }; |
317 | 317 |
318 Range.PERCENT_RANGE = Range.fromExplicitRange(0, 1); | 318 Range.PERCENT_RANGE = Range.fromExplicitRange(0, 1); |
319 Object.freeze(Range.PERCENT_RANGE); | 319 Object.freeze(Range.PERCENT_RANGE); |
320 | 320 |
321 return { | 321 return { |
322 Range, | 322 Range, |
323 }; | 323 }; |
324 }); | 324 }); |
325 </script> | 325 </script> |
OLD | NEW |