| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright 2015 The Chromium Authors. All rights reserved. | 3 Copyright 2015 The Chromium Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. | 5 found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 | 7 |
| 8 <link rel='import' href='/tracing/ui/base/constants.html'> | 8 <link rel='import' href='/tracing/ui/base/constants.html'> |
| 9 | 9 |
| 10 <dom-module id='tr-ui-b-heading'> | 10 <dom-module id='tr-ui-b-heading'> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 heading { | 22 heading { |
| 23 display: block; | 23 display: block; |
| 24 overflow-x: hidden; | 24 overflow-x: hidden; |
| 25 text-align: left; | 25 text-align: left; |
| 26 text-overflow: ellipsis; | 26 text-overflow: ellipsis; |
| 27 white-space: nowrap; | 27 white-space: nowrap; |
| 28 } | 28 } |
| 29 | 29 |
| 30 #arrow { | 30 #arrow { |
| 31 -webkit-flex: 0 0 auto; | 31 flex: 0 0 auto; |
| 32 font-family: sans-serif; | 32 font-family: sans-serif; |
| 33 margin-left: 5px; | 33 margin-left: 5px; |
| 34 margin-right: 5px; | 34 margin-right: 5px; |
| 35 width: 8px; | 35 width: 8px; |
| 36 } | 36 } |
| 37 | 37 |
| 38 #link, #heading_content { | 38 #link, #heading_content { |
| 39 display: none; | 39 display: none; |
| 40 } | 40 } |
| 41 </style> | 41 </style> |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 this.$.link.style.display = 'inline-block'; | 130 this.$.link.style.display = 'inline-block'; |
| 131 this.$.link.selection = this.selectionGenerator_; | 131 this.$.link.selection = this.selectionGenerator_; |
| 132 Polymer.dom(this.$.link).textContent = this.heading_; | 132 Polymer.dom(this.$.link).textContent = this.heading_; |
| 133 } else { | 133 } else { |
| 134 this.$.heading_content.style.display = 'inline-block'; | 134 this.$.heading_content.style.display = 'inline-block'; |
| 135 Polymer.dom(this.$.heading_content).textContent = this.heading_; | 135 Polymer.dom(this.$.heading_content).textContent = this.heading_; |
| 136 } | 136 } |
| 137 } | 137 } |
| 138 }); | 138 }); |
| 139 </script> | 139 </script> |
| OLD | NEW |