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

Side by Side Diff: tracing/tracing/ui/analysis/analysis_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 2014 The Chromium Authors. All rights reserved. 3 Copyright 2014 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/base/base.html"> 8 <link rel="import" href="/tracing/base/base.html">
9 9
10 <!-- 10 <!--
11 @fileoverview Polymer element for various analysis sub-views. 11 @fileoverview Polymer element for various analysis sub-views.
12 --> 12 -->
13 <script> 13 <script>
14 'use strict'; 14 'use strict';
15 15
16 tr.exportTo('tr.ui.analysis.behaviors', function() { 16 tr.exportTo('tr.ui.analysis', function() {
17 17
18 var AnalysisSubView = { 18 var AnalysisSubView = {
19 set tabLabel(label) { 19 set tabLabel(label) {
20 Polymer.dom(this).setAttribute('tab-label', label); 20 Polymer.dom(this).setAttribute('tab-label', label);
21 }, 21 },
22 22
23 get tabLabel() { 23 get tabLabel() {
24 return this.getAttribute('tab-label'); 24 return this.getAttribute('tab-label');
25 }, 25 },
26 26
(...skipping 19 matching lines...) Expand all
46 }; 46 };
47 47
48 return { 48 return {
49 AnalysisSubView: AnalysisSubView 49 AnalysisSubView: AnalysisSubView
50 }; 50 };
51 }); 51 });
52 52
53 // Dummy element for testing 53 // Dummy element for testing
54 Polymer({ 54 Polymer({
55 is: 'tr-ui-a-sub-view', 55 is: 'tr-ui-a-sub-view',
56 behaviors: [tr.ui.analysis.behaviors.AnalysisSubView] 56 behaviors: [tr.ui.analysis.AnalysisSubView]
57 }); 57 });
58 </script> 58 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/analysis/alert_sub_view.html ('k') | tracing/tracing/ui/analysis/container_memory_dump_sub_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698