summaryrefslogtreecommitdiffstats
path: root/content/browser/resources/gpu/timeline_test.html
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/resources/gpu/timeline_test.html')
-rw-r--r--content/browser/resources/gpu/timeline_test.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/content/browser/resources/gpu/timeline_test.html b/content/browser/resources/gpu/timeline_test.html
new file mode 100644
index 0000000..e21f90e
--- /dev/null
+++ b/content/browser/resources/gpu/timeline_test.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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="../../../../ui/webui/resources/js/cr.js"></script>
+<script src="../../../../ui/webui/resources/js/cr/event_target.js"></script>
+<script src="../../../../ui/webui/resources/js/cr/ui.js"></script>
+<script src="fast_rect_renderer.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>