| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <!-- | 3 <!-- |
| 4 Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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> | 8 <head> |
| 9 <title>Simple Embedded Viewer</title> | 9 <title>Simple Embedded Viewer</title> |
| 10 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 10 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 11 | 11 |
| 12 <link rel="import" href="/tracing/base/timing.html"> | 12 <link rel="import" href="/tracing/base/timing.html"> |
| 13 <link rel="import" href="/tracing/base/xhr.html"> | 13 <link rel="import" href="/tracing/base/xhr.html"> |
| 14 <link rel="import" href="/tracing/importer/import.html"> | 14 <link rel="import" href="/tracing/importer/import.html"> |
| 15 <link rel="import" href="/tracing/ui/extras/full_config.html"> | 15 <link rel="import" href="/tracing/ui/extras/full_config.html"> |
| 16 <link rel="import" href="/tracing/ui/timeline_view.html"> | 16 <link rel="import" href="/tracing/ui/timeline_view.html"> |
| 17 | 17 |
| 18 <style> | 18 <style> |
| 19 html, | 19 html, |
| 20 body { | 20 body { |
| 21 height: 100%; | 21 height: 100%; |
| 22 } | 22 } |
| 23 | 23 |
| 24 body { | 24 body { |
| 25 -webkit-flex-direction: column; | 25 flex-direction: column; |
| 26 display: -webkit-flex; | 26 display: flex; |
| 27 margin: 0; | 27 margin: 0; |
| 28 padding: 0; | 28 padding: 0; |
| 29 } | 29 } |
| 30 | 30 |
| 31 body > tr-ui-timeline-view { | 31 body > tr-ui-timeline-view { |
| 32 -webkit-flex: 1 1 auto; | 32 flex: 1 1 auto; |
| 33 min-height: 0; | 33 min-height: 0; |
| 34 } | 34 } |
| 35 body > tr-ui-timeline-view:focus { | 35 body > tr-ui-timeline-view:focus { |
| 36 outline: none; | 36 outline: none; |
| 37 } | 37 } |
| 38 </style> | 38 </style> |
| 39 </head> | 39 </head> |
| 40 <body> | 40 <body> |
| 41 <tr-ui-timeline-view> | 41 <tr-ui-timeline-view> |
| 42 <track-view-container id='track_view_container'></track-view-container> | 42 <track-view-container id='track_view_container'></track-view-container> |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 'Detailed file size stats', | 173 'Detailed file size stats', |
| 174 onHashChange); | 174 onHashChange); |
| 175 trackDetailedModelStatsEl.id = 'track-detailed-model-stats'; | 175 trackDetailedModelStatsEl.id = 'track-detailed-model-stats'; |
| 176 timelineViewEl.leftControls.appendChild(trackDetailedModelStatsEl); | 176 timelineViewEl.leftControls.appendChild(trackDetailedModelStatsEl); |
| 177 } | 177 } |
| 178 | 178 |
| 179 window.addEventListener('load', onLoad); | 179 window.addEventListener('load', onLoad); |
| 180 </script> | 180 </script> |
| 181 </body> | 181 </body> |
| 182 </html> | 182 </html> |
| OLD | NEW |