| <!DOCTYPE html> |
| <!-- |
| Copyright 2014 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/ui.html"> |
| <script> |
| 'use strict'; |
| |
| tv.exportTo('telemetry.web_components', function() { |
| /** |
| * @constructor |
| */ |
| var SimpleViewer = tv.ui.define('x-results-viewer'); |
| |
| SimpleViewer.prototype = { |
| __proto__: HTMLUnknownElement.prototype, |
| |
| decorate: function() { |
| this.dataToView_ = undefined; |
| }, |
| |
| get dataToView() { |
| return dataToView_; |
| }, |
| |
| set dataToView(dataToView) { |
| this.dataToView_ = dataToView; |
| } |
| }; |
| |
| return { |
| SimpleViewer: SimpeViewer |
| }; |
| }); |
| </script> |