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

Unified Diff: tracing/tracing/ui/side_panel/metrics_side_panel.html

Issue 2341623002: Display Histograms in value-set-table-cells. (Closed)
Patch Set: . Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/ui/base/table.html ('k') | tracing/tracing/ui/tracks/drawing_container.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/side_panel/metrics_side_panel.html
diff --git a/tracing/tracing/ui/side_panel/metrics_side_panel.html b/tracing/tracing/ui/side_panel/metrics_side_panel.html
index a7a15351e7c04da75a9eec3e484abb9d7c6aa9f3..06a62b49d4d86cc38b90db41662ea47b700b0d2f 100644
--- a/tracing/tracing/ui/side_panel/metrics_side_panel.html
+++ b/tracing/tracing/ui/side_panel/metrics_side_panel.html
@@ -29,7 +29,9 @@ found in the LICENSE file.
</style>
<top-left-controls id="top_left_controls"></top-left-controls>
+
<tr-v-ui-value-set-view id="results"></tr-v-ui-value-set-view>
+
<div id="error"></div>
</template>
</dom-module>
@@ -163,7 +165,6 @@ tr.exportTo('tr.ui', function() {
},
updateContents_: function() {
- this.style.width = '';
Polymer.dom(this.$.error).textContent = '';
this.$.results.style.display = 'none';
@@ -200,11 +201,6 @@ tr.exportTo('tr.ui', function() {
this.$.results.style.display = '';
this.$.results.values = values;
-
- tr.b.requestAnimationFrame(function() {
- var width = this.$.results.getBoundingClientRect().width + 15;
- this.style.width = width + 'px';
- }, this);
}
});
« no previous file with comments | « tracing/tracing/ui/base/table.html ('k') | tracing/tracing/ui/tracks/drawing_container.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698