| 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 <script src="/components/webcomponentsjs/webcomponents.js"></script> | |
| 13 <script> | |
| 14 'use strict'; | |
| 15 | |
| 16 // Force Polymer into native shadowDom mode | |
| 17 window.Polymer = window.Polymer || {}; | |
| 18 window.Polymer.dom = 'shadow'; | |
| 19 </script> | |
| 20 | |
| 21 <link rel="import" href="/components/polymer/polymer.html"> | |
| 22 <link rel="import" href="/tracing/base/timing.html"> | 12 <link rel="import" href="/tracing/base/timing.html"> |
| 23 <link rel="import" href="/tracing/base/xhr.html"> | 13 <link rel="import" href="/tracing/base/xhr.html"> |
| 24 <link rel="import" href="/tracing/importer/import.html"> | 14 <link rel="import" href="/tracing/importer/import.html"> |
| 25 <link rel="import" href="/tracing/ui/extras/full_config.html"> | 15 <link rel="import" href="/tracing/ui/extras/full_config.html"> |
| 26 <link rel="import" href="/tracing/ui/timeline_view.html"> | 16 <link rel="import" href="/tracing/ui/timeline_view.html"> |
| 27 | 17 |
| 28 <style> | 18 <style> |
| 29 html, | 19 html, |
| 30 body { | 20 body { |
| 31 height: 100%; | 21 height: 100%; |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 'Detailed file size stats', | 175 'Detailed file size stats', |
| 186 onHashChange); | 176 onHashChange); |
| 187 trackDetailedModelStatsEl.id = 'track-detailed-model-stats'; | 177 trackDetailedModelStatsEl.id = 'track-detailed-model-stats'; |
| 188 timelineViewEl.leftControls.appendChild(trackDetailedModelStatsEl); | 178 timelineViewEl.leftControls.appendChild(trackDetailedModelStatsEl); |
| 189 } | 179 } |
| 190 | 180 |
| 191 window.addEventListener('load', onLoad); | 181 window.addEventListener('load', onLoad); |
| 192 </script> | 182 </script> |
| 193 </body> | 183 </body> |
| 194 </html> | 184 </html> |
| OLD | NEW |