| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium 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 // https://w3c.github.io/hr-time/#the-performance-interface | 5 // https://w3c.github.io/hr-time/#the-performance-interface |
| 6 | 6 |
| 7 // TODO(philipj): This should be a GlobalPerformance interface implemented by | 7 // TODO(foolip): This should be a GlobalPerformance interface implemented by |
| 8 // Window and WorkerGlobalScope. | 8 // Window and WorkerGlobalScope. |
| 9 [ | 9 [ |
| 10 ImplementedAs=DOMWindowPerformance, | 10 ImplementedAs=DOMWindowPerformance, |
| 11 ] partial interface Window { | 11 ] partial interface Window { |
| 12 [Replaceable] readonly attribute Performance performance; | 12 [Replaceable] readonly attribute Performance performance; |
| 13 }; | 13 }; |
| OLD | NEW |