Home | History | Annotate | Download | only in about_tracing
      1 <!DOCTYPE html>
      2 <!--
      3 Copyright (c) 2013 The Chromium Authors. All rights reserved.
      4 Use of this source code is governed by a BSD-style license that can be
      5 found in the LICENSE file.
      6 -->
      7 <link rel="stylesheet" href="/tracing/ui/extras/about_tracing/common.css">
      8 <link rel="import" href="/tracing/ui/extras/about_tracing/profiling_view.html">
      9 <link rel="import" href="/tracing/ui/extras/full_config.html">
     10 <script>
     11 'use strict';
     12 
     13 tr.exportTo('tr.ui.e.about_tracing', function() {
     14   window.profilingView = undefined;  // Made global for debugging purposes only.
     15 
     16   document.addEventListener('DOMContentLoaded', function() {
     17     window.profilingView = new tr.ui.e.about_tracing.ProfilingView();
     18     profilingView.timelineView.globalMode = true;
     19     document.body.appendChild(profilingView);
     20   });
     21 
     22   return {};
     23 });
     24 </script>
     25