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

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

Issue 8918018: Support save/restore in about:profiler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes Created 8 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/resources/profiler/profiler.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <script src="profiler.js"></script> 5 <script src="profiler.js"></script>
6 <script src="chrome://resources/js/util.js"></script> 6 <script src="chrome://resources/js/util.js"></script>
7 7
8 <style> 8 <style>
9 9
10 body { 10 body {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 color: purple; 90 color: purple;
91 } 91 }
92 92
93 #snapshot-selection-summary { 93 #snapshot-selection-summary {
94 margin-top: 1ex; 94 margin-top: 1ex;
95 font-weight: bold; 95 font-weight: bold;
96 font-style: italic; 96 font-style: italic;
97 color: green; 97 color: green;
98 } 98 }
99 99
100 .errormsg {
101 color: red;
102 }
103
100 </style> 104 </style>
101 </head> 105 </head>
102 <body> 106 <body>
107 <b>Save:</b><button id=save-snapshots-button>Save</button>
108 <b>Restore:</b> <input type=file id=snapshot-file-loader />
109 <span id=file-load-error hidden class=errormsg></span>
110
111 <hr/>
112
103 <table width=100%> 113 <table width=100%>
104 <tr> 114 <tr>
105 <td> 115 <td>
106 <b>Group by: </b> <span id=group-by-container></span> 116 <b>Group by: </b> <span id=group-by-container></span>
107 <b>Sort by: </b> <span id=sort-by-container></span> 117 <b>Sort by: </b> <span id=sort-by-container></span>
108 </td> 118 </td>
109 <td align=right> 119 <td align=right>
110 <span id=snapshots-link class=pseudo-link>[snapshots]</span> 120 <span id=snapshots-link class=pseudo-link>[snapshots]</span>
111 <span id=edit-columns-link class=pseudo-link>[columns]</span> 121 <span id=edit-columns-link class=pseudo-link>[columns]</span>
112 <input type='search' incremental id='filter-search' /> 122 <input type='search' incremental id='filter-search' />
113 </td> 123 </td>
114 </tr> 124 </tr>
115 <tr id=edit-columns-row style='display:none'> 125 <tr id=edit-columns-row style='display:none'>
116 <td colspan=2> 126 <td colspan=2>
117 <div> 127 <div>
118 <b>Merge: </b><span id=column-merge-toggles-container></span> 128 <b>Merge: </b><span id=column-merge-toggles-container></span>
119 <label><input type=checkbox id='merge-similar-threads-checkbox' chec ked/> 129 <label><input type=checkbox id='merge-similar-threads-checkbox' chec ked/>
120 Merge similar threads.</label> 130 Merge similar threads.</label>
121 </div> 131 </div>
122 <div> 132 <div>
123 <b>Show: </b><span id=column-toggles-container></span> 133 <b>Show: </b><span id=column-toggles-container></span>
124 </div> 134 </div>
125 </td> 135 </td>
126 </tr> 136 </tr>
127 <tr id=snapshots-row style='display:none'> 137 <tr id=snapshots-row style='display:none'>
128 <td colspan=2> 138 <td colspan=2>
129 <button id=snapshot-button>Add snapshot</button> 139 <button id=take-snapshot-button>Add snapshot</button>
130 <table><tbody id=snapshots-tbody></tbody></table> 140 <table><tbody id=snapshots-tbody></tbody></table>
131 <div id=snapshot-selection-summary></div> 141 <div id=snapshot-selection-summary></div>
132 </td> 142 </td>
133 </tr> 143 </tr>
134 </table> 144 </table>
135 145
136 <hr/> 146 <hr/>
137 147
138 <div id='results-div'></div> 148 <div id='results-div'></div>
139 149
140 <!-- TODO(eroman): This should only be a short-lived solution, 150 <!-- TODO(eroman): This should only be a short-lived solution,
141 which will eventually be superceded by snapshotting --> 151 which will eventually be superceded by snapshotting -->
142 <span id=reset-data-link class=pseudo-link>[Reset tracking data]</span> 152 <span id=reset-data-link class=pseudo-link>[Reset tracking data]</span>
153
154 <iframe style="display: none" id="download-iframe"></iframe>
143 </body> 155 </body>
144 </html> 156 </html>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/profiler/profiler.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698