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
8<link rel="import" href="/tracing/ui/analysis/analysis_sub_view.html">
9<link rel="import" href="/tracing/ui/analysis/multi_event_sub_view.html">
10
11<polymer-element name="tr-ui-a-multi-thread-time-slice-sub-view"
12    extends="tr-ui-a-sub-view">
13  <template>
14    <style>
15    :host {
16      display: flex;
17    }
18    #content {
19      flex: 1 1 auto;
20    }
21    </style>
22    <tr-ui-a-multi-event-sub-view id="content"></tr-ui-a-multi-event-sub-view>
23  </template>
24
25  <script>
26  'use strict';
27
28  Polymer({
29    ready: function() {
30      this.$.content.eventsHaveSubRows = false;
31    },
32
33    get selection() {
34      return this.$.content.selection;
35    },
36
37    set selection(selection) {
38      this.$.content.setSelectionWithoutErrorChecks(selection);
39    }
40  });
41  </script>
42</polymer-element>
43