| <!DOCTYPE html> |
| <!-- |
| Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| |
| <link rel="import" href="/base/base.html"> |
| |
| <script> |
| 'use strict'; |
| |
| tv.exportTo('tv.c.annotations', function() { |
| /** |
| * A base class for all annotation views. |
| * @constructor |
| */ |
| function AnnotationView(viewport, annotation) { |
| } |
| |
| AnnotationView.prototype = { |
| draw: function(ctx) { |
| throw new Error('Not implemented'); |
| } |
| }; |
| |
| return { |
| AnnotationView: AnnotationView |
| }; |
| }); |
| </script> |