diff options
Diffstat (limited to 'chromium/content/browser/resources/gpu/gpu_internals.js')
-rw-r--r-- | chromium/content/browser/resources/gpu/gpu_internals.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/chromium/content/browser/resources/gpu/gpu_internals.js b/chromium/content/browser/resources/gpu/gpu_internals.js new file mode 100644 index 00000000000..49b43e2553e --- /dev/null +++ b/chromium/content/browser/resources/gpu/gpu_internals.js @@ -0,0 +1,20 @@ +// 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. + +<include src="browser_bridge.js"/> +<include src="info_view.js"/> + +var browserBridge; + +/** + * Main entry point. called once the page has loaded. + */ +function onLoad() { + browserBridge = new gpu.BrowserBridge(); + + // Create the views. + cr.ui.decorate('#info-view', gpu.InfoView); +} + +document.addEventListener('DOMContentLoaded', onLoad); |