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

Side by Side Diff: tracing/tracing/ui/extras/chrome/cc/display_item_debugger.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) 2015 The Chromium Authors. All rights reserved. 3 Copyright (c) 2015 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/base64.html"> 8 <link rel="import" href="/tracing/base/base64.html">
9 <link rel="import" href="/tracing/extras/chrome/cc/picture.html"> 9 <link rel="import" href="/tracing/extras/chrome/cc/picture.html">
10 <link rel="import" href="/tracing/ui/analysis/generic_object_view.html"> 10 <link rel="import" href="/tracing/ui/analysis/generic_object_view.html">
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 /** 127 /**
128 * DisplayItemDebugger is a view of a DisplayItemListSnapshot for inspecting 128 * DisplayItemDebugger is a view of a DisplayItemListSnapshot for inspecting
129 * a display item list and the pictures within it. 129 * a display item list and the pictures within it.
130 * 130 *
131 * @constructor 131 * @constructor
132 */ 132 */
133 var DisplayItemDebugger = tr.ui.b.define( 133 var DisplayItemDebugger = tr.ui.b.define(
134 'tr-ui-e-chrome-cc-display-item-debugger'); 134 'tr-ui-e-chrome-cc-display-item-debugger');
135 135
136 DisplayItemDebugger.prototype = { 136 DisplayItemDebugger.prototype = {
137 __proto__: HTMLUnknownElement.prototype, 137 __proto__: HTMLDivElement.prototype,
138 138
139 decorate: function() { 139 decorate: function() {
140 var node = tr.ui.b.instantiateTemplate( 140 var node = tr.ui.b.instantiateTemplate(
141 '#tr-ui-e-chrome-cc-display-item-debugger-template', THIS_DOC); 141 '#tr-ui-e-chrome-cc-display-item-debugger-template', THIS_DOC);
142 142
143 Polymer.dom(this).appendChild(node); 143 Polymer.dom(this).appendChild(node);
144 144
145 this.pictureAsImageData_ = undefined; 145 this.pictureAsImageData_ = undefined;
146 this.zoomScaleValue_ = 1; 146 this.zoomScaleValue_ = 1;
147 147
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 var rawData = tr.b.Base64.atob(this.picture_.getBase64SkpData()); 458 var rawData = tr.b.Base64.atob(this.picture_.getBase64SkpData());
459 this.saveFile_(this.skpFilename_.value, rawData); 459 this.saveFile_(this.skpFilename_.value, rawData);
460 } 460 }
461 }; 461 };
462 462
463 return { 463 return {
464 DisplayItemDebugger: DisplayItemDebugger 464 DisplayItemDebugger: DisplayItemDebugger
465 }; 465 };
466 }); 466 });
467 </script> 467 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/extras/about_tracing/profiling_view.html ('k') | tracing/tracing/ui/extras/chrome/cc/layer_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698