3 Copyright (c) 2012 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.
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=
"../../../../ui/webui/resources/js/cr.js"></script>
13 <script src=
"../../../../ui/webui/resources/js/cr/event_target.js"></script>
14 <script src=
"../../../../ui/webui/resources/js/cr/ui.js"></script>
15 <script src=
"fast_rect_renderer.js"></script>
16 <script src=
"sorted_array_utils.js"></script>
17 <script src=
"timeline.js"></script>
18 <script src=
"timeline_track.js"></script>
19 <script src=
"timeline_model.js"></script>
23 goog.require('goog.testing.jsunit');
29 <div id="sandbox"></div>
32 var sandbox = document.getElementById('sandbox');
35 function testTimeline() {
36 model = new gpu.TimelineModel();
37 model.importEvents(tracingControllerDataSets);
38 timeline = new gpu.Timeline();
39 timeline.model = model;
40 sandbox.appendChild(timeline);
42 document.addEventListener('DOMContentLoaded', testTimeline);