4 Copyright (c) 2011 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
9 <title>chrome://inspect test shell</title>
10 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
12 <script src="/components/platform/platform.js"></script>
14 <link rel="import" href="/components/polymer/polymer.html">
15 <link rel="import" href="/about_tracing/profiling_view.html">
23 display: -webkit-flex;
24 -webkit-flex-direction: column;
27 body > x-profiling-view {
28 -webkit-flex: 1 1 auto;
46 if (window.InspectorFrontendHost === undefined) {
48 'This page only works when launched from chrome://inspect',
50 'chrome://inspect/?browser-inspector=' +
51 'http://localhost:8003/examples/chrome_inspect_test_shell.html' +
53 'and then clicking the inspect link on a browser');
58 var tracingControllerClient = new about_tracing.InspectorTracingControllerClient();
59 profilingViewEl = new about_tracing.ProfilingView(tracingControllerClient);
60 document.body.appendChild(profilingViewEl);
62 window.addEventListener('load', onLoad);