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

Side by Side Diff: tracing/tracing/ui/extras/chrome/cc/layer_view.html

Issue 1925993003: [polymer] Replaces lots of HTMLUnknownElements with HTMLDivElements (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Created 4 years, 7 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="stylesheet" href="/tracing/ui/extras/chrome/cc/layer_view.css"> 8 <link rel="stylesheet" href="/tracing/ui/extras/chrome/cc/layer_view.css">
9 9
10 <link rel="import" href="/tracing/base/raf.html"> 10 <link rel="import" href="/tracing/base/raf.html">
(...skipping 13 matching lines...) Expand all
24 24
25 tr.exportTo('tr.ui.e.chrome.cc', function() { 25 tr.exportTo('tr.ui.e.chrome.cc', function() {
26 var constants = tr.e.cc.constants; 26 var constants = tr.e.cc.constants;
27 27
28 /** 28 /**
29 * @constructor 29 * @constructor
30 */ 30 */
31 var LayerView = tr.ui.b.define('tr-ui-e-chrome-cc-layer-view'); 31 var LayerView = tr.ui.b.define('tr-ui-e-chrome-cc-layer-view');
32 32
33 LayerView.prototype = { 33 LayerView.prototype = {
34 __proto__: HTMLUnknownElement.prototype, 34 __proto__: HTMLDivElement.prototype,
35 35
36 decorate: function() { 36 decorate: function() {
37 this.layerTreeQuadStackView_ = 37 this.layerTreeQuadStackView_ =
38 new tr.ui.e.chrome.cc.LayerTreeQuadStackView(); 38 new tr.ui.e.chrome.cc.LayerTreeQuadStackView();
39 this.dragBar_ = document.createElement('tr-ui-b-drag-handle'); 39 this.dragBar_ = document.createElement('tr-ui-b-drag-handle');
40 this.analysisEl_ = 40 this.analysisEl_ =
41 document.createElement('tr-ui-e-chrome-cc-layer-view-analysis'); 41 document.createElement('tr-ui-e-chrome-cc-layer-view-analysis');
42 this.analysisEl_.addEventListener('requestSelectionChange', 42 this.analysisEl_.addEventListener('requestSelectionChange',
43 this.onRequestSelectionChangeFromAnalysisEl_.bind(this)); 43 this.onRequestSelectionChangeFromAnalysisEl_.bind(this));
44 44
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 this.layerTreeQuadStackView_.extraHighlightsByLayerId = 140 this.layerTreeQuadStackView_.extraHighlightsByLayerId =
141 extraHighlightsByLayerId; 141 extraHighlightsByLayerId;
142 } 142 }
143 }; 143 };
144 144
145 return { 145 return {
146 LayerView: LayerView 146 LayerView: LayerView
147 }; 147 };
148 }); 148 });
149 </script> 149 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698