Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(984)

Side by Side Diff: tracing/tracing/ui/analysis/multi_thread_time_slice_sub_view.html

Issue 2246173002: Move AnalysisSubView to tr.ui.analysis namespace (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2013 The Chromium Authors. All rights reserved. 3 Copyright (c) 2013 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <link rel="import" href="/tracing/ui/analysis/analysis_sub_view.html"> 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"> 9 <link rel="import" href="/tracing/ui/analysis/multi_event_sub_view.html">
10 10
11 <dom-module id='tr-ui-a-multi-thread-time-slice-sub-view'> 11 <dom-module id='tr-ui-a-multi-thread-time-slice-sub-view'>
12 <template> 12 <template>
13 <style> 13 <style>
14 :host { 14 :host {
15 display: flex; 15 display: flex;
16 } 16 }
17 #content { 17 #content {
18 flex: 1 1 auto; 18 flex: 1 1 auto;
19 } 19 }
20 </style> 20 </style>
21 <tr-ui-a-multi-event-sub-view id="content"></tr-ui-a-multi-event-sub-view> 21 <tr-ui-a-multi-event-sub-view id="content"></tr-ui-a-multi-event-sub-view>
22 </template> 22 </template>
23 </dom-module> 23 </dom-module>
24 <script> 24 <script>
25 'use strict'; 25 'use strict';
26 26
27 Polymer({ 27 Polymer({
28 is: 'tr-ui-a-multi-thread-time-slice-sub-view', 28 is: 'tr-ui-a-multi-thread-time-slice-sub-view',
29 behaviors: [tr.ui.analysis.behaviors.AnalysisSubView], 29 behaviors: [tr.ui.analysis.AnalysisSubView],
30 30
31 ready: function() { 31 ready: function() {
32 this.$.content.eventsHaveSubRows = false; 32 this.$.content.eventsHaveSubRows = false;
33 }, 33 },
34 34
35 get selection() { 35 get selection() {
36 return this.$.content.selection; 36 return this.$.content.selection;
37 }, 37 },
38 38
39 set selection(selection) { 39 set selection(selection) {
40 this.$.content.setSelectionWithoutErrorChecks(selection); 40 this.$.content.setSelectionWithoutErrorChecks(selection);
41 } 41 }
42 }); 42 });
43 </script> 43 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698