Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / trace-viewer / examples / trace_viewer.html
index fe69adc..ee0f01a 100644 (file)
@@ -8,10 +8,14 @@ found in the LICENSE file.
 <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">
@@ -100,8 +104,8 @@ found in the LICENSE file.
         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;
       });
@@ -147,7 +151,7 @@ found in the LICENSE file.
 
   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');