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 3 // found in the LICENSE file. 4 5 <WARNING_MESSAGE></WARNING_MESSAGE> 6 <SCRIPT_CONTENTS></SCRIPT_CONTENTS> 7 8 var tracingController; 9 var profilingView; // Made global for debugging purposes only. 10 11 document.addEventListener('DOMContentLoaded', function() { 12 tracingController = new about_tracing.TracingController( 13 chrome.send.bind(chrome)); 14 15 profilingView = document.body.querySelector('#profiling-view'); 16 ui.decorate(profilingView, about_tracing.ProfilingView); 17 profilingView.tracingController = tracingController; 18 }); 19