1<!DOCTYPE html> 2<!-- 3Copyright (c) 2014 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 8<link rel="import" href="/tracing/base/base.html"> 9 10<!-- 11@fileoverview Polymer element for various analysis sub-views. 12--> 13<polymer-element name="tr-ui-a-sub-view"> 14 <script> 15 'use strict'; 16 Polymer({ 17 set tabLabel(label) { 18 return this.setAttribute('tab-label', label); 19 }, 20 21 get tabLabel() { 22 return this.getAttribute('tab-label'); 23 }, 24 25 get requiresTallView() { 26 return false; 27 }, 28 29 get relatedEventsToHighlight() { 30 return undefined; 31 }, 32 33 /** 34 * Each element extending this one must implement 35 * a 'selection' property. 36 */ 37 set selection(selection) { 38 throw new Error('Not implemented!'); 39 }, 40 41 get selection() { 42 throw new Error('Not implemented!'); 43 } 44 }); 45 </script> 46</polymer-element> 47