| 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 <link rel="import" href="/tracing/base/iteration_helpers.html"> | 7 <link rel="import" href="/tracing/base/utils.html"> |
| 8 <link rel="import" href="/tracing/ui/base/mouse_modes.html"> | 8 <link rel="import" href="/tracing/ui/base/mouse_modes.html"> |
| 9 | 9 |
| 10 <dom-module id='tr-ui-b-mouse-mode-icon'> | 10 <dom-module id='tr-ui-b-mouse-mode-icon'> |
| 11 <template> | 11 <template> |
| 12 <style> | 12 <style> |
| 13 :host { | 13 :host { |
| 14 display: block; | 14 display: block; |
| 15 background-image: url(../images/ui-states.png); | 15 background-image: url(../images/ui-states.png); |
| 16 width: 27px; | 16 width: 27px; |
| 17 height: 30px; | 17 height: 30px; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 let bp; | 106 let bp; |
| 107 if (this.active_) { | 107 if (this.active_) { |
| 108 bp = modeInfo.activeBackgroundPosition; | 108 bp = modeInfo.activeBackgroundPosition; |
| 109 } else { | 109 } else { |
| 110 bp = modeInfo.defaultBackgroundPosition; | 110 bp = modeInfo.defaultBackgroundPosition; |
| 111 } | 111 } |
| 112 this.style.backgroundPosition = bp; | 112 this.style.backgroundPosition = bp; |
| 113 } | 113 } |
| 114 }); | 114 }); |
| 115 </script> | 115 </script> |
| OLD | NEW |