| Index: tracing/tracing/value/ui/merged_device_info_span.html
|
| diff --git a/tracing/tracing/value/ui/merged_device_info_span.html b/tracing/tracing/value/ui/merged_device_info_span.html
|
| deleted file mode 100644
|
| index 8e4e3ccee9ec8cb55937fc48b00768dbefbb6613..0000000000000000000000000000000000000000
|
| --- a/tracing/tracing/value/ui/merged_device_info_span.html
|
| +++ /dev/null
|
| @@ -1,67 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<!--
|
| -Copyright 2017 The Chromium Authors. All rights reserved.
|
| -Use of this source code is governed by a BSD-style license that can be
|
| -found in the LICENSE file.
|
| --->
|
| -
|
| -<link rel="import" href="/tracing/ui/base/table.html">
|
| -
|
| -<dom-module id="tr-v-ui-merged-device-info-span">
|
| - <template>
|
| - <tr-ui-b-table id="table"></tr-ui-b-table>
|
| - </template>
|
| -</dom-module>
|
| -<script>
|
| -'use strict';
|
| -Polymer({
|
| - is: 'tr-v-ui-merged-device-info-span',
|
| -
|
| - ready() {
|
| - this.diagnostic_ = undefined;
|
| - this.$.table.showHeader = false;
|
| - this.$.table.tableColumns = [
|
| - {value: row => row[0]},
|
| - {value: row => row[1]},
|
| - ];
|
| - },
|
| -
|
| - get diagnostic() {
|
| - return this.diagnostic_;
|
| - },
|
| -
|
| - set diagnostic(d) {
|
| - this.diagnostic_ = d;
|
| - this.updateContents_();
|
| - },
|
| -
|
| - updateContents_() {
|
| - if (this.diagnostic === undefined) {
|
| - this.$.table.tableRows = [];
|
| - return;
|
| - }
|
| -
|
| - const rows = [];
|
| -
|
| - if (this.diagnostic.chromeVersions.size) {
|
| - rows.push([
|
| - 'chrome versions',
|
| - Array.from(this.diagnostic.chromeVersions).join(', ')
|
| - ]);
|
| - }
|
| - if (this.diagnostic.osNames.size) {
|
| - rows.push([
|
| - 'os names',
|
| - Array.from(this.diagnostic.osNames).join(', ')
|
| - ]);
|
| - }
|
| - if (this.diagnostic.osVersions.size) {
|
| - rows.push([
|
| - 'os versions',
|
| - Array.from(this.diagnostic.osVersions).join(', ')
|
| - ]);
|
| - }
|
| - this.$.table.tableRows = rows;
|
| - }
|
| -});
|
| -</script>
|
|
|