1<!DOCTYPE html> 2<!-- 3Copyright (c) 2013 The Chromium Authors. All rights reserved. 4Use of this source code is governed by a BSD-style license that can be 5found in the LICENSE file. 6--> 7<link rel="import" href="/tracing/base/base.html"> 8<link rel="import" href="/tracing/ui/base/mouse_mode_icon.html"> 9<link rel="import" href="/tracing/ui/base/overlay.html"> 10<link rel="import" href="/tracing/value/ui/generic_table_view.html"> 11 12<polymer-element name="tr-ui-timeline-view-metadata-overlay"> 13 <template> 14 <style> 15 :host { 16 width: 700px; 17 18 overflow: auto; 19 } 20 </style> 21 <tr-v-ui-generic-table-view id="gtv"></tr-v-ui-generic-table-view> 22 </template> 23 24 <script> 25 'use strict'; 26 27 Polymer('tr-ui-timeline-view-metadata-overlay', { 28 created: function() { 29 this.metadata_ = undefined; 30 }, 31 32 get metadata() { 33 return this.metadata_; 34 }, 35 36 set metadata(metadata) { 37 this.metadata_ = metadata; 38 this.$.gtv.items = this.metadata_; 39 } 40 }); 41 </script> 42</polymer-element> 43