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

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

Issue 10161025: Allow about:tracing Counters to be selected (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixen. Created 8 years, 8 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/linux_perf_importer.js"> 9 <include src="tracing/linux_perf_importer.js">
10 <include src="tracing/trace_event_importer.js"> 10 <include src="tracing/trace_event_importer.js">
11 <include src="tracing/sorted_array_utils.js"> 11 <include src="tracing/sorted_array_utils.js">
12 <include src="tracing/measuring_stick.js"> 12 <include src="tracing/measuring_stick.js">
13 <include src="tracing/timeline.js"> 13 <include src="tracing/timeline.js">
14 <include src="tracing/timeline_analysis.js">
14 <include src="tracing/timeline_track.js"> 15 <include src="tracing/timeline_track.js">
15 <include src="tracing/fast_rect_renderer.js"> 16 <include src="tracing/fast_rect_renderer.js">
16 <include src="tracing/profiling_view.js"> 17 <include src="tracing/profiling_view.js">
17 <include src="tracing/timeline_view.js"> 18 <include src="tracing/timeline_view.js">
18 19
19 var browserBridge; 20 var browserBridge;
20 var tracingController; 21 var tracingController;
21 var profilingView; // Made global for debugging purposes only. 22 var profilingView; // Made global for debugging purposes only.
22 23
23 /** 24 /**
24 * Main entry point called once the page has loaded. 25 * Main entry point called once the page has loaded.
25 */ 26 */
26 function onLoad() { 27 function onLoad() {
27 browserBridge = new gpu.BrowserBridge(); 28 browserBridge = new gpu.BrowserBridge();
28 tracingController = new tracing.TracingController(); 29 tracingController = new tracing.TracingController();
29 30
30 profilingView = $('profiling-view'); 31 profilingView = $('profiling-view');
31 cr.ui.decorate(profilingView, tracing.ProfilingView); 32 cr.ui.decorate(profilingView, tracing.ProfilingView);
32 profilingView.tracingController = tracingController; 33 profilingView.tracingController = tracingController;
33 } 34 }
34 35
35 document.addEventListener('DOMContentLoaded', onLoad); 36 document.addEventListener('DOMContentLoaded', onLoad);
OLDNEW
« no previous file with comments | « chrome/browser/resources/tracing.html ('k') | chrome/browser/resources/tracing/interactive_tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698