Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: chrome/browser/resources/gpu_internals.html

Issue 6551019: Trace_event upgrades (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <!-- 3 <!--
4 Copyright (c) 2010 The Chromium Authors. All rights reserved. 4 Copyright (c) 2010 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 <head i18n-values="dir:textdirection;"> 8 <head i18n-values="dir:textdirection;">
9 <link rel="stylesheet" href="dom_ui.css"> 9 <link rel="stylesheet" href="dom_ui.css">
10 <style> 10 <style>
(...skipping 13 matching lines...) Expand all
24 } 24 }
25 </style> 25 </style>
26 <link rel="stylesheet" href="gpu_internals/tab_control.css"> 26 <link rel="stylesheet" href="gpu_internals/tab_control.css">
27 <link rel="stylesheet" href="gpu_internals/info_view.css"> 27 <link rel="stylesheet" href="gpu_internals/info_view.css">
28 <script src="chrome://resources/js/cr.js"></script> 28 <script src="chrome://resources/js/cr.js"></script>
29 <script src="chrome://resources/js/cr/event_target.js"></script> 29 <script src="chrome://resources/js/cr/event_target.js"></script>
30 <script src="chrome://resources/js/cr/ui.js"></script> 30 <script src="chrome://resources/js/cr/ui.js"></script>
31 <script src="chrome://resources/js/util.js"></script> 31 <script src="chrome://resources/js/util.js"></script>
32 <script src="gpu_internals/tab_control.js"></script> 32 <script src="gpu_internals/tab_control.js"></script>
33 <script src="gpu_internals/browser_bridge.js"></script> 33 <script src="gpu_internals/browser_bridge.js"></script>
34 <script src="gpu_internals/tracing_controller.js"></script>
34 <script src="gpu_internals/info_view.js"></script> 35 <script src="gpu_internals/info_view.js"></script>
35 36
36 37
37 <script> 38 <script>
38 var browser; 39 var browser;
40 var tracingController;
39 41
40 /** 42 /**
41 * Main entry point. called once the page has loaded. 43 * Main entry point. called once the page has loaded.
42 */ 44 */
43 function onLoad() { 45 function onLoad() {
44 browserBridge = new gpu.BrowserBridge(); 46 browserBridge = new gpu.BrowserBridge();
47 tracingController = new gpu.TracingController();
45 48
46 // Create the views. 49 // Create the views.
47 cr.ui.decorate('#info-view', gpu.InfoView); 50 cr.ui.decorate('#info-view', gpu.InfoView);
48 51
49 // Create the main tab control 52 // Create the main tab control
50 var tabs = $('main-tabs'); 53 var tabs = $('main-tabs');
51 cr.ui.decorate(tabs, gpu.TabControl); 54 cr.ui.decorate(tabs, gpu.TabControl);
52 55
53 // Sync the main-tabs selectedTabs in-sync with the location. 56 // Sync the main-tabs selectedTabs in-sync with the location.
54 tabs.addEventListener('selectedTabChanged', function() { 57 tabs.addEventListener('selectedTabChanged', function() {
(...skipping 19 matching lines...) Expand all
74 77
75 </script> 78 </script>
76 </head> 79 </head>
77 <body> 80 <body>
78 <!-- Tabs --> 81 <!-- Tabs -->
79 <div id="main-tabs"> 82 <div id="main-tabs">
80 <include src="gpu_internals/info_view.html"> 83 <include src="gpu_internals/info_view.html">
81 </div> 84 </div>
82 </body> 85 </body>
83 </html> 86 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698