Update to latest trace viewer

Upstream trace viewer has changed substantially since last pull.

First, the old flattening into js + css + html workflow has been replaced with
a new flatten into single html file workflow.

Second, trace viewer has moved to git.

Some pieces that were previously only in systrace are now upstream as well.
In particular, minification is now upstream. Thus, the minifying features in
systrace can be removed.

Change-Id: Ibc6a46fa3dccff8b771a95aae1909cf178157264
diff --git a/trace-viewer/trace_viewer/core/analysis/multi_global_memory_dump_sub_view.html b/trace-viewer/trace_viewer/core/analysis/multi_global_memory_dump_sub_view.html
new file mode 100644
index 0000000..8effd0f
--- /dev/null
+++ b/trace-viewer/trace_viewer/core/analysis/multi_global_memory_dump_sub_view.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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="/core/analysis/analysis_results.html">
+<link rel="import" href="/core/analysis/analysis_sub_view.html">
+<link rel="import" href="/core/analysis/util.html">
+
+<polymer-element name="tv-c-multi-global-memory-dump-sub-view"
+    extends="tracing-analysis-sub-view">
+  <script>
+  'use strict';
+
+  Polymer({
+    created: function() {
+      this.currentSelection_ = undefined;
+    },
+
+    set selection(selection) {
+      this.currentSelection_ = selection;
+      this.textContent = '';
+
+      selection = tv.b.asArray(selection).sort(
+          tv.b.Range.compareByMinTimes);
+
+      var results = new tv.c.analysis.AnalysisResults();
+      this.appendChild(results);
+
+      var table = results.appendTable('analysis-global-memory-dump-table', 1);
+
+      selection.forEach(function(dump) {
+        var row = results.appendBodyRow(table);
+        var linkContainer = results.appendTableCell(table, row, '');
+        var label = 'Dump at ' + tv.c.analysis.tsString(dump.start);
+        var selectionGenerator = function() {
+          var selection = new tv.c.Selection();
+          selection.push(dump);
+          return selection;
+        }
+        linkContainer.appendChild(results.createSelectionChangingLink(
+            label, selectionGenerator));
+      });
+    },
+
+    get selection() {
+      return this.currentSelection_;
+    }
+  });
+  </script>
+</polymer>