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

Unified Diff: tracing/tracing/results2_template.html

Issue 2424933003: Rename ValueSet* to HistogramSet*. (Closed)
Patch Set: fix Created 4 years, 2 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
Index: tracing/tracing/results2_template.html
diff --git a/tracing/tracing/results2_template.html b/tracing/tracing/results2_template.html
index 0d22660b012aec29dfbbf86940b24e28b030a598..46481c196a2ad7bed3e1c20b0a3629820df1b13c 100644
--- a/tracing/tracing/results2_template.html
+++ b/tracing/tracing/results2_template.html
@@ -8,8 +8,8 @@ found in the LICENSE file.
<div id="loading">Loading framework...</div>
-<link rel="import" href="/tracing/value/ui/value_set_view.html">
-<link rel="import" href="/tracing/value/value_set.html">
+<link rel="import" href="/tracing/value/histogram_set.html">
+<link rel="import" href="/tracing/value/ui/histogram_set_view.html">
<script>
'use strict';
@@ -46,8 +46,8 @@ class HistogramImporter {
}
importHistograms() {
- this.histograms_ = new tr.v.ValueSet();
- this.view_ = document.getElementById('values');
+ this.histograms_ = new tr.v.HistogramSet();
+ this.view_ = document.getElementById('histograms');
this.schedule_('Gathering JSON...', this.getJsonDivs_);
}
@@ -83,11 +83,11 @@ class HistogramImporter {
resolveRelationships_() {
this.histograms_.resolveRelatedHistograms();
- this.schedule_('Displaying Histogram table...', this.displayValues_);
+ this.schedule_('Displaying Histogram table...', this.displayHistograms);
}
- displayValues_() {
- this.view_.values = this.histograms_;
+ displayHistograms() {
+ this.view_.histograms = this.histograms_;
this.loadingDiv_.style.display = 'none';
this.view_.style.display = 'block';
@@ -110,4 +110,4 @@ document.addEventListener('DOMContentLoaded', () => {
})();
</script>
-<tr-v-ui-value-set-view id="values" style="display: none;"></tr-v-ui-value-set-view>
+<tr-v-ui-histogram-set-view id="histograms" style="display: none;"></tr-v-ui-histogram-set-view>
« no previous file with comments | « tracing/tracing/metrics/v8/gc_metric_test.html ('k') | tracing/tracing/ui/analysis/single_user_expectation_sub_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698