// Copyright (c) 2011 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. var browserBridge; var tracingController; var profilingView; // Made global for debugging purposes only. /** * Main entry point called once the page has loaded. */ function onLoad() { browserBridge = new gpu.BrowserBridge(); tracingController = new tracing.TracingController(); profilingView = $('profiling-view'); cr.ui.decorate(profilingView, tracing.ProfilingView); } document.addEventListener('DOMContentLoaded', onLoad);