<!DOCTYPE html> <!-- Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <html> <head> <title></title> <link rel="stylesheet" href="timeline.css"> <!--<script src="http://closure-library.googlecode.com/svn/trunk/closure/goog/base.js"></script>--> <script src="../shared/js/cr.js"></script> <script src="../shared/js/cr/event_target.js"></script> <script src="../shared/js/cr/ui.js"></script> <script src="fast_rect_renderer.js"></script> <script src="tracing_controller_tests.js"></script> <script src="sorted_array_utils.js"></script> <script src="timeline.js"></script> <script src="timeline_track.js"></script> <script src="timeline_model.js"></script> <!-- <script> goog.require('goog.testing.jsunit'); </script> --> </head> <body> <div id="sandbox"></div> <script> var sandbox = document.getElementById('sandbox'); var timeline; function testTimeline() { model = new gpu.TimelineModel(); model.importEvents(tracingControllerDataSets); timeline = new gpu.Timeline(); timeline.model = model; sandbox.appendChild(timeline); } document.addEventListener('DOMContentLoaded', testTimeline); </script> </body> </html>