Upstream version 9.37.197.0
[platform/framework/web/crosswalk.git] / src / third_party / trace-viewer / trace_viewer / about_tracing / __init__.js
1 // Copyright (c) 2013 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 'use strict';
6
7 tvcm.require('about_tracing.profiling_view');
8 tvcm.requireStylesheet('about_tracing.common');
9
10 tvcm.exportTo('about_tracing', function() {
11   window.profilingView = undefined;  // Made global for debugging purposes only.
12
13   document.addEventListener('DOMContentLoaded', function() {
14     window.profilingView = new about_tracing.ProfilingView();
15     document.body.appendChild(profilingView);
16   });
17
18   return {};
19 });