| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright (c) 2015 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2015 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/model/annotation.html"> | 8 <link rel="import" href="/tracing/model/annotation.html"> |
| 9 <link rel="import" href="/tracing/model/location.html"> | 9 <link rel="import" href="/tracing/model/location.html"> |
| 10 <link rel="import" href="/tracing/ui/annotations/rect_annotation_view.html"> | 10 <link rel="import" href="/tracing/ui/annotations/rect_annotation_view.html"> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 }, | 53 }, |
| 54 | 54 |
| 55 createView_: function(viewport) { | 55 createView_: function(viewport) { |
| 56 return new tr.ui.annotations.RectAnnotationView(viewport, this); | 56 return new tr.ui.annotations.RectAnnotationView(viewport, this); |
| 57 } | 57 } |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 tr.model.Annotation.register(RectAnnotation, {typeName: 'rect'}); | 60 tr.model.Annotation.register(RectAnnotation, {typeName: 'rect'}); |
| 61 | 61 |
| 62 return { | 62 return { |
| 63 RectAnnotation: RectAnnotation | 63 RectAnnotation, |
| 64 }; | 64 }; |
| 65 }); | 65 }); |
| 66 </script> | 66 </script> |
| OLD | NEW |