Home | History | Annotate | Download | only in gpu_internals
      1 <!DOCTYPE html>
      2 <!--
      3 Copyright (c) 2010 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 <html>
      8 <head>
      9 <title></title>
     10 <link rel="stylesheet" href="timeline.css">
     11 <!--<script src="http://closure-library.googlecode.com/svn/trunk/closure/goog/base.js"></script>-->
     12 <script src="../shared/js/cr.js"></script>
     13 <script src="../shared/js/cr/event_target.js"></script>
     14 <script src="../shared/js/cr/ui.js"></script>
     15 <script src="fast_rect_renderer.js"></script>
     16 <script src="tracing_controller_tests.js"></script>
     17 <script src="sorted_array_utils.js"></script>
     18 <script src="timeline.js"></script>
     19 <script src="timeline_track.js"></script>
     20 <script src="timeline_model.js"></script>
     21 <!--
     22 <script>
     23 
     24 goog.require('goog.testing.jsunit');
     25 
     26 </script>
     27 -->
     28 </head>
     29 <body>
     30 <div id="sandbox"></div>
     31 <script>
     32 
     33 var sandbox = document.getElementById('sandbox');
     34 var timeline;
     35 
     36 function testTimeline() {
     37   model = new gpu.TimelineModel();
     38   model.importEvents(tracingControllerDataSets);
     39   timeline = new gpu.Timeline();
     40   timeline.model = model;
     41   sandbox.appendChild(timeline);
     42 }
     43 document.addEventListener('DOMContentLoaded', testTimeline);
     44 </script>
     45 
     46 </body>
     47 </html>
     48