Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(372)

Side by Side Diff: chrome/browser/resources/tracing.js

Issue 8359025: Tons of timeline tweaks (Closed)
Patch Set: Fixen Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 <include src="gpu_internals/browser_bridge.js"> 5 <include src="gpu_internals/browser_bridge.js">
6 <include src="tracing/overlay.js"> 6 <include src="tracing/overlay.js">
7 <include src="tracing/tracing_controller.js"> 7 <include src="tracing/tracing_controller.js">
8 <include src="tracing/timeline_model.js"> 8 <include src="tracing/timeline_model.js">
9 <include src="tracing/sorted_array_utils.js"> 9 <include src="tracing/sorted_array_utils.js">
10 <include src="tracing/measuring_stick.js">
10 <include src="tracing/timeline.js"> 11 <include src="tracing/timeline.js">
11 <include src="tracing/timeline_track.js"> 12 <include src="tracing/timeline_track.js">
12 <include src="tracing/fast_rect_renderer.js"> 13 <include src="tracing/fast_rect_renderer.js">
13 <include src="tracing/profiling_view.js"> 14 <include src="tracing/profiling_view.js">
14 <include src="tracing/timeline_view.js"> 15 <include src="tracing/timeline_view.js">
15 16
16 var browserBridge; 17 var browserBridge;
17 var tracingController; 18 var tracingController;
18 var profilingView; // Made global for debugging purposes only. 19 var profilingView; // Made global for debugging purposes only.
19 20
20 /** 21 /**
21 * Main entry point called once the page has loaded. 22 * Main entry point called once the page has loaded.
22 */ 23 */
23 function onLoad() { 24 function onLoad() {
24 browserBridge = new gpu.BrowserBridge(); 25 browserBridge = new gpu.BrowserBridge();
25 tracingController = new tracing.TracingController(); 26 tracingController = new tracing.TracingController();
26 27
27 profilingView = $('profiling-view'); 28 profilingView = $('profiling-view');
28 cr.ui.decorate(profilingView, tracing.ProfilingView); 29 cr.ui.decorate(profilingView, tracing.ProfilingView);
29 } 30 }
30 31
31 document.addEventListener('DOMContentLoaded', onLoad); 32 document.addEventListener('DOMContentLoaded', onLoad);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698