OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2013 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2013 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/model/event_set.html"> | 8 <link rel="import" href="/tracing/model/event_set.html"> |
9 <link rel="import" href="/tracing/ui/base/ui.html"> | 9 <link rel="import" href="/tracing/ui/base/ui.html"> |
10 <link rel="import" href="/tracing/ui/brushing_state_controller.html"> | 10 <link rel="import" href="/tracing/ui/brushing_state_controller.html"> |
11 | 11 |
12 <dom-module id='tr-ui-a-analysis-link'> | 12 <dom-module id='tr-ui-a-analysis-link'> |
13 <template> | 13 <template> |
14 <style> | 14 <style> |
15 :host { | 15 :host { |
16 display: inline; | 16 display: inline; |
17 color: -webkit-link; | 17 color: -webkit-link; |
18 cursor: pointer; | 18 cursor: pointer; |
19 text-decoration: underline; | 19 text-decoration: underline; |
20 cursor: pointer; | 20 cursor: pointer; |
| 21 white-space: nowrap; |
21 } | 22 } |
22 </style> | 23 </style> |
23 <a href="{{href}}" on-click="onClicked_" on-mouseenter="onMouseEnter_" on-mo
useleave="onMouseLeave_"><content></content></a> | 24 <a href="{{href}}" on-click="onClicked_" on-mouseenter="onMouseEnter_" on-mo
useleave="onMouseLeave_"><content></content></a> |
24 | 25 |
25 </template> | 26 </template> |
26 </dom-module> | 27 </dom-module> |
27 <script> | 28 <script> |
28 'use strict'; | 29 'use strict'; |
29 | 30 |
30 Polymer({ | 31 Polymer({ |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 129 |
129 onMouseEnter_: function() { | 130 onMouseEnter_: function() { |
130 this.setHighlight_(this.getCurrentSelection_()); | 131 this.setHighlight_(this.getCurrentSelection_()); |
131 }, | 132 }, |
132 | 133 |
133 onMouseLeave_: function() { | 134 onMouseLeave_: function() { |
134 this.clearHighlight_(); | 135 this.clearHighlight_(); |
135 } | 136 } |
136 }); | 137 }); |
137 </script> | 138 </script> |
OLD | NEW |