<head>
<title>Simple Embedded Viewer</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script src="/polymer.js"></script>
+
+<script src="/components/platform/platform.js"></script>
+
+<link rel="import" href="/components/polymer/polymer.html">
<link rel="import" href="/tracing/timeline_view.html">
<link rel="import" href="/tracing/importer.html">
<link rel="import" href="/cc.html">
+<link rel="import" href="/net.html">
<link rel="import" href="/tcmalloc.html">
<link rel="import" href="/system_stats.html">
<link rel="import" href="/gpu.html">
timelineViewEl.viewTitle = filenames;
},
function(err) {
- var overlay = new tvcm.ui.Overlay();
- overlay.textContent = tvcm.normalizeException(err).message;
+ var overlay = new tv.ui.Overlay();
+ overlay.textContent = tv.normalizeException(err).message;
overlay.title = 'Import error';
overlay.visible = true;
});
function onLoad() {
timelineViewEl = document.querySelector('x-timeline-view');
- tvcm.ui.decorate(timelineViewEl, tracing.TimelineView);
+ tv.ui.decorate(timelineViewEl, tracing.TimelineView);
getAsync('/json/examples', function(data) {
var select = document.querySelector('#trace_file');