| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright (c) 2013 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2013 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 <link rel="import" href="/tracing/base/event_target.html"> | 7 <link rel="import" href="/tracing/base/event_target.html"> |
| 8 <link rel="import" href="/tracing/base/extension_registry_base.html"> | 8 <link rel="import" href="/tracing/base/extension_registry_base.html"> |
| 9 <link rel="import" href="/tracing/base/extension_registry_basic.html"> | 9 <link rel="import" href="/tracing/base/extension_registry_basic.html"> |
| 10 <link rel="import" href="/tracing/base/extension_registry_type_based.html"> | 10 <link rel="import" href="/tracing/base/extension_registry_type_based.html"> |
| 11 <link rel="import" href="/tracing/base/iteration_helpers.html"> | 11 <link rel="import" href="/tracing/base/utils.html"> |
| 12 | 12 |
| 13 <script> | 13 <script> |
| 14 'use strict'; | 14 'use strict'; |
| 15 | 15 |
| 16 /** | 16 /** |
| 17 * @fileoverview Helper code for defining extension registries, which can be | 17 * @fileoverview Helper code for defining extension registries, which can be |
| 18 * used to make a part of trace-viewer extensible. | 18 * used to make a part of trace-viewer extensible. |
| 19 * | 19 * |
| 20 * This file provides two basic types of extension registries: | 20 * This file provides two basic types of extension registries: |
| 21 * - Generic: register a type with metadata, query for those types based on | 21 * - Generic: register a type with metadata, query for those types based on |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 if (registry.addEventListener === undefined) { | 57 if (registry.addEventListener === undefined) { |
| 58 tr.b.EventTarget.decorate(registry); | 58 tr.b.EventTarget.decorate(registry); |
| 59 } | 59 } |
| 60 } | 60 } |
| 61 | 61 |
| 62 return { | 62 return { |
| 63 decorateExtensionRegistry, | 63 decorateExtensionRegistry, |
| 64 }; | 64 }; |
| 65 }); | 65 }); |
| 66 </script> | 66 </script> |
| OLD | NEW |